public static interface ResourceGroup.Builder extends CopyableBuilder<ResourceGroup.Builder,ResourceGroup>
Modifier and Type | Method and Description |
---|---|
ResourceGroup.Builder |
arn(String arn)
The ARN of the resource group.
|
ResourceGroup.Builder |
createdAt(Instant createdAt)
The time at which resource group is created.
|
ResourceGroup.Builder |
tags(Collection<ResourceGroupTag> tags)
The tags (key and value pairs) of the resource group.
|
ResourceGroup.Builder |
tags(Consumer<ResourceGroupTag.Builder>... tags)
The tags (key and value pairs) of the resource group.
|
ResourceGroup.Builder |
tags(ResourceGroupTag... tags)
The tags (key and value pairs) of the resource group.
|
copy
applyMutation, build
ResourceGroup.Builder arn(String arn)
The ARN of the resource group.
arn
- The ARN of the resource group.ResourceGroup.Builder tags(Collection<ResourceGroupTag> tags)
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
tags
- The tags (key and value pairs) of the resource group. This data type property is used in the
CreateResourceGroup action.ResourceGroup.Builder tags(ResourceGroupTag... tags)
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
tags
- The tags (key and value pairs) of the resource group. This data type property is used in the
CreateResourceGroup action.ResourceGroup.Builder tags(Consumer<ResourceGroupTag.Builder>... tags)
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
ResourceGroup.Builder createdAt(Instant createdAt)
The time at which resource group is created.
createdAt
- The time at which resource group is created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.