Interface ListTagsForResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>,OamRequest.Builder,SdkBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTagsForResourceRequest
public static interface ListTagsForResourceRequest.Builder extends OamRequest.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsForResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTagsForResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListTagsForResourceRequest.BuilderresourceArn(String resourceArn)The ARN of the resource that you want to view tags for.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.oam.model.OamRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceArn
ListTagsForResourceRequest.Builder resourceArn(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-idThe ARN format of a link is
arn:aws:oam:Region:account-id:link/link-idFor 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:RequestTagpermission. Theaws:ReguestTagpermission does not allow you to tag and untag links and sinks.- Parameters:
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-idThe ARN format of a link is
arn:aws:oam:Region:account-id:link/link-idFor 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:RequestTagpermission. Theaws:ReguestTagpermission does not allow you to tag and untag links and sinks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTagsForResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTagsForResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-