public AutomationExecution withOpsItemId(String opsItemId) {
        setOpsItemId(opsItemId);
        return this;
    }
<p>
The ID of an OpsItem that is created to represent a Change Manager change request.
</p>

@param opsItemId
       The ID of an OpsItem that is created to represent a Change Manager change request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/AutomationExecution.java