public MatchingResource withMatchingBucket(MatchingBucket matchingBucket) {
        setMatchingBucket(matchingBucket);
        return this;
    }
<p>
The details of an S3 bucket that Amazon Macie monitors and analyzes.
</p>

@param matchingBucket
       The details of an S3 bucket that Amazon Macie monitors and analyzes.
@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/MatchingResource.java