public CreateReplicationConfigurationRequest withDestinations(java.util.Collection<DestinationToCreate> destinations) {
        setDestinations(destinations);
        return this;
    }
<p>
An array of destination configuration objects. Only one destination configuration object is supported.
</p>

@param destinations
       An array of destination configuration objects. Only one destination configuration object is supported.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-efs/src/main/java/com/amazonaws/services/elasticfilesystem/model/CreateReplicationConfigurationRequest.java