@Generated(value="software.amazon.awssdk:codegen") public final class ListTagsForResourceRequest extends OamRequest implements ToCopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListTagsForResourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListTagsForResourceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
The ARN of the resource that you want to view tags for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListTagsForResourceRequest.Builder> |
serializableBuilderClass() |
ListTagsForResourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
The ARN of the resource that you want to view tags for.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links or sinks
you must have the oam:RequestTag permission. The aws:ReguestTag permission does not
allow you to tag and untag links and sinks.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links
or sinks you must have the oam:RequestTag permission. The aws:ReguestTag
permission does not allow you to tag and untag links and sinks.
public ListTagsForResourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>toBuilder in class OamRequestpublic static ListTagsForResourceRequest.Builder builder()
public static Class<? extends ListTagsForResourceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.