public ArtifactDetails withMaximumCount(Integer maximumCount) {
        setMaximumCount(maximumCount);
        return this;
    }
<p>
The maximum number of artifacts allowed for the action type.
</p>

@param maximumCount
       The maximum number of artifacts allowed for the action type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ArtifactDetails.java