public java.util.List<Deployment> getDeployments() {
        if (deployments == null) {
            deployments = new com.amazonaws.internal.SdkInternalList<Deployment>();
        }
        return deployments;
    }
<p>
The current state of deployments for the service.
</p>

@return The current state of deployments for the service.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Service.java