public GetDeploymentResult withDeploymentPolicies(DeploymentPolicies deploymentPolicies) {
        setDeploymentPolicies(deploymentPolicies);
        return this;
    }
<p>
The deployment policies for the deployment. These policies define how the deployment updates components and
handles failure.
</p>

@param deploymentPolicies
       The deployment policies for the deployment. These policies define how the deployment updates components
       and handles failure.
@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