public GetDeploymentResult withComponents(java.util.Map<String, ComponentDeploymentSpecification> components) {
        setComponents(components);
        return this;
    }
<p>
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value
is the version and configuration to deploy for that component.
</p>

@param components
       The components to deploy. This is a dictionary, where each key is the name of a component, and each key's
       value is the version and configuration to deploy for that component.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/GetDeploymentResult.java