public RemoveTagsFromResourceRequest withResourceId(String resourceId) {
        setResourceId(resourceId);
        return this;
    }
<p>
The ID of the resource from which you want to remove tags. For example:
</p>
<p>
ManagedInstance: mi-012345abcde
</p>
<p>
MaintenanceWindow: mw-012345abcde
</p>
<p>
<code>Automation</code>: <code>example-c160-4567-8519-012345abcde</code>
</p>
<p>
PatchBaseline: pb-012345abcde
</p>
<p>
OpsMetadata object: <code>ResourceID</code> for tagging is created from the Amazon Resource Name (ARN) for the
object. Specifically, <code>ResourceID</code> is created from the strings that come after the word
<code>opsmetadata</code> in the ARN. For example, an OpsMetadata object with an ARN of
<code>arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager</code> has a
<code>ResourceID</code> of either <code>aws/ssm/MyGroup/appmanager</code> or
<code>/aws/ssm/MyGroup/appmanager</code>.
</p>
<p>
For the Document and Parameter values, use the name of the resource.
</p>
<note>
<p>
The <code>ManagedInstance</code> type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
</p>
</note>

@param resourceId
       The ID of the resource from which you want to remove tags. For example:</p>
       <p>
       ManagedInstance: mi-012345abcde
       </p>
       <p>
       MaintenanceWindow: mw-012345abcde
       </p>
       <p>
       <code>Automation</code>: <code>example-c160-4567-8519-012345abcde</code>
       </p>
       <p>
       PatchBaseline: pb-012345abcde
       </p>
       <p>
       OpsMetadata object: <code>ResourceID</code> for tagging is created from the Amazon Resource Name (ARN) for
       the object. Specifically, <code>ResourceID</code> is created from the strings that come after the word
       <code>opsmetadata</code> in the ARN. For example, an OpsMetadata object with an ARN of
       <code>arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager</code> has a
       <code>ResourceID</code> of either <code>aws/ssm/MyGroup/appmanager</code> or
       <code>/aws/ssm/MyGroup/appmanager</code>.
       </p>
       <p>
       For the Document and Parameter values, use the name of the resource.
       </p>
       <note>
       <p>
       The <code>ManagedInstance</code> type for this API operation is only for on-premises managed nodes.
       Specify the name of the managed node in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
       </p>
@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/RemoveTagsFromResourceRequest.java