Interface PutGroupConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutGroupConfigurationRequest.Builder,
,PutGroupConfigurationRequest> ResourceGroupsRequest.Builder
,SdkBuilder<PutGroupConfigurationRequest.Builder,
,PutGroupConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutGroupConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Collection<GroupConfigurationItem> configuration) The new configuration to associate with the specified group.configuration
(Consumer<GroupConfigurationItem.Builder>... configuration) The new configuration to associate with the specified group.configuration
(GroupConfigurationItem... configuration) The new configuration to associate with the specified group.The name or ARN of the resource group with the configuration that you want to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsRequest.Builder
build
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
-
group
The name or ARN of the resource group with the configuration that you want to update.
- Parameters:
group
- The name or ARN of the resource group with the configuration that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
PutGroupConfigurationRequest.Builder configuration(Collection<GroupConfigurationItem> configuration) The new configuration to associate with the specified group. A configuration associates the resource group with an Amazon Web Services service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements.
For information about the syntax of a service configuration, see Service configurations for Resource Groups.
A resource group can contain either a
Configuration
or aResourceQuery
, but not both.- Parameters:
configuration
- The new configuration to associate with the specified group. A configuration associates the resource group with an Amazon Web Services service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements.For information about the syntax of a service configuration, see Service configurations for Resource Groups.
A resource group can contain either a
Configuration
or aResourceQuery
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The new configuration to associate with the specified group. A configuration associates the resource group with an Amazon Web Services service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements.
For information about the syntax of a service configuration, see Service configurations for Resource Groups.
A resource group can contain either a
Configuration
or aResourceQuery
, but not both.- Parameters:
configuration
- The new configuration to associate with the specified group. A configuration associates the resource group with an Amazon Web Services service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements.For information about the syntax of a service configuration, see Service configurations for Resource Groups.
A resource group can contain either a
Configuration
or aResourceQuery
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
PutGroupConfigurationRequest.Builder configuration(Consumer<GroupConfigurationItem.Builder>... configuration) The new configuration to associate with the specified group. A configuration associates the resource group with an Amazon Web Services service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements.
For information about the syntax of a service configuration, see Service configurations for Resource Groups.
A resource group can contain either a
Configuration
or aResourceQuery
, but not both.GroupConfigurationItem.Builder
avoiding the need to create one manually viaGroupConfigurationItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(List<GroupConfigurationItem>)
.- Parameters:
configuration
- a consumer that will call methods onGroupConfigurationItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutGroupConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutGroupConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-