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 Amazon resource name (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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
group
The name or Amazon resource name (ARN) of the resource group with the configuration that you want to update.
- Parameters:
group- The name or Amazon resource name (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
Configurationor 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
Configurationor 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
Configurationor 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
Configurationor 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.
This is a convenience method that creates an instance of theA resource group can contain either a
Configurationor aResourceQuery, but not both.GroupConfigurationItem.Builderavoiding the need to create one manually viaGroupConfigurationItem.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-