CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
, SdkBuilder<TagResourceRequest.Builder,TagResourceRequest>
public static interface TagResourceRequest.Builder extends CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
Modifier and Type | Method | Description |
---|---|---|
TagResourceRequest.Builder |
resourceArn(String resourceArn) |
The Amazon Resource Name (ARN) of the Direct Connect resource.
|
TagResourceRequest.Builder |
tags(Collection<Tag> tags) |
The list of tags to add.
|
TagResourceRequest.Builder |
tags(Tag... tags) |
The list of tags to add.
|
copy
apply, build
TagResourceRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the Direct Connect resource.
Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh
resourceArn
- The Amazon Resource Name (ARN) of the Direct Connect resource.
Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh
TagResourceRequest.Builder tags(Collection<Tag> tags)
The list of tags to add.
tags
- The list of tags to add.TagResourceRequest.Builder tags(Tag... tags)
The list of tags to add.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of tags to add.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.