public ReplicationDestinationConfig withAccount(String account) {
        setAccount(account);
        return this;
    }
Sets the account ID of the destination bucket. This is only being verified if Access Control Translation is enabled.

@param account New account id.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ReplicationDestinationConfig.java