public MatchingBucket withObjectCount(Long objectCount) {
        setObjectCount(objectCount);
        return this;
    }
<p>
The total number of objects in the bucket.
</p>

@param objectCount
       The total number of objects in the bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/MatchingBucket.java