Interface PutGroupConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutGroupConfigurationRequest.Builder,PutGroupConfigurationRequest>,ResourceGroupsRequest.Builder,SdkBuilder<PutGroupConfigurationRequest.Builder,PutGroupConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutGroupConfigurationRequest
public static interface PutGroupConfigurationRequest.Builder extends ResourceGroupsRequest.Builder, SdkPojo, CopyableBuilder<PutGroupConfigurationRequest.Builder,PutGroupConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutGroupConfigurationRequest.Builderconfiguration(Collection<GroupConfigurationItem> configuration)The new configuration to associate with the specified group.PutGroupConfigurationRequest.Builderconfiguration(Consumer<GroupConfigurationItem.Builder>... configuration)The new configuration to associate with the specified group.PutGroupConfigurationRequest.Builderconfiguration(GroupConfigurationItem... configuration)The new configuration to associate with the specified group.PutGroupConfigurationRequest.Buildergroup(String group)The name or ARN of the resource group with the configuration that you want to update.PutGroupConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutGroupConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
group
PutGroupConfigurationRequest.Builder group(String 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
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(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
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 to#configuration(List.) - 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:
#configuration(java.util.Collection)
-
overrideConfiguration
PutGroupConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutGroupConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-