public RuleAction withWriteToS3(S3Action writeToS3) {
        setWriteToS3(writeToS3);
        return this;
    }
<p>
This action writes the MIME content of the email to an S3 bucket.
</p>

@param writeToS3
       This action writes the MIME content of the email to an S3 bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/RuleAction.java