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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceGroup.Builderarn(String arn)The ARN of the resource group.ResourceGroup.BuildercreatedAt(Instant createdAt)The time at which resource group is created.ResourceGroup.Buildertags(Collection<ResourceGroupTag> tags)The tags (key and value pairs) of the resource group.ResourceGroup.Buildertags(Consumer<ResourceGroupTag.Builder>... tags)The tags (key and value pairs) of the resource group.ResourceGroup.Buildertags(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 Detail
-
arn
ResourceGroup.Builder arn(String 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
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.
- 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
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.
- 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
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 method that creates an instance of theResourceGroupTag.Builderavoiding the need to create one manually viaResourceGroupTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
createdAt
ResourceGroup.Builder createdAt(Instant 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.
-
-