Interface TagResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>,SdkBuilder<TagResourceRequest.Builder,TagResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- TagResourceRequest
public static interface TagResourceRequest.Builder extends BackupRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TagResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)TagResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)TagResourceRequest.BuilderresourceArn(String resourceArn)An ARN that uniquely identifies a resource.TagResourceRequest.Buildertags(Map<String,String> tags)Key-value pairs that are used to help organize your resources.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceArn
TagResourceRequest.Builder resourceArn(String resourceArn)
An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.
ARNs that do not include
backupare incompatible with tagging.TagResourceandUntagResourcewith invalid ARNs will result in an error. Acceptable ARN content can includearn:aws:backup:us-east. Invalid ARN content may look likearn:aws:ec2:us-east.- Parameters:
resourceArn- An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.ARNs that do not include
backupare incompatible with tagging.TagResourceandUntagResourcewith invalid ARNs will result in an error. Acceptable ARN content can includearn:aws:backup:us-east. Invalid ARN content may look likearn:aws:ec2:us-east.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagResourceRequest.Builder tags(Map<String,String> tags)
Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create. For clarity, this is the structure to assign tags:
[{"Key":"string","Value":"string"}].- Parameters:
tags- Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create. For clarity, this is the structure to assign tags:[{"Key":"string","Value":"string"}].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-