public void setDestinations(java.util.Collection<DestinationToCreate> destinations) {
        if (destinations == null) {
            this.destinations = null;
            return;
        }

        this.destinations = new com.amazonaws.internal.SdkInternalList<DestinationToCreate>(destinations);
    }
<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.
aws-java-sdk-efs/src/main/java/com/amazonaws/services/elasticfilesystem/model/CreateReplicationConfigurationRequest.java