public PostLaunchActions withDeployment(PostLaunchActionsDeploymentType deployment) {
        this.deployment = deployment.toString();
        return this;
    }
<p>
Deployment type in which AWS Systems Manager Documents will be executed.
</p>

@param deployment
       Deployment type in which AWS Systems Manager Documents will be executed.
@return Returns a reference to this object so that method calls can be chained together.
@see PostLaunchActionsDeploymentType
aws-java-sdk-mgn/src/main/java/com/amazonaws/services/mgn/model/PostLaunchActions.java