public Deployment withServiceConnectResources(java.util.Collection<ServiceConnectServiceResource> serviceConnectResources) {
        setServiceConnectResources(serviceConnectResources);
        return this;
    }
<p>
The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery
name to a Cloud Map service name.
</p>

@param serviceConnectResources
       The list of Service Connect resources that are associated with this deployment. Each list entry maps a
       discovery name to a Cloud Map service name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Deployment.java