Interface ResourceGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceGroup.Builder,
,ResourceGroup> SdkBuilder<ResourceGroup.Builder,
,ResourceGroup> SdkPojo
- Enclosing class:
ResourceGroup
public static interface ResourceGroup.Builder
extends SdkPojo, CopyableBuilder<ResourceGroup.Builder,ResourceGroup>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the resource group.The time at which resource group is created.tags
(Collection<ResourceGroupTag> tags) The tags (key and value pairs) of the resource group.tags
(Consumer<ResourceGroupTag.Builder>... tags) The tags (key and value pairs) of the resource group.tags
(ResourceGroupTag... tags) The tags (key and value pairs) of the resource group.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, sdkFields
-
Method Details
-
arn
The ARN of the resource group.
- Parameters:
arn
- The ARN of the resource group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
- Parameters:
tags
- The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
- Parameters:
tags
- The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theResourceGroupTag.Builder
avoiding the need to create one manually viaResourceGroupTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<ResourceGroupTag>)
.- Parameters:
tags
- a consumer that will call methods onResourceGroupTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time at which resource group is created.
- Parameters:
createdAt
- The time at which resource group is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-