public MaintenanceWindowRunCommandParameters withServiceRoleArn(String serviceRoleArn) {
        setServiceRoleArn(serviceRoleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon
Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
</p>

@param serviceRoleArn
       The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish
       Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
@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/MaintenanceWindowRunCommandParameters.java