Interface CreateGroupRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateGroupRequest.Builder,,- CreateGroupRequest> - ResourceGroupsRequest.Builder,- SdkBuilder<CreateGroupRequest.Builder,,- CreateGroupRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateGroupRequest
- 
Method SummaryModifier and TypeMethodDescriptionconfiguration(Collection<GroupConfigurationItem> configuration) 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.configuration(Consumer<GroupConfigurationItem.Builder>... configuration) 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.configuration(GroupConfigurationItem... configuration) 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.criticality(Integer criticality) The critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical.description(String description) The description of the resource group.displayName(String displayName) The name of the application group, which you can change at any time.The name of the group, which is the identifier of the group in other operations.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization.default CreateGroupRequest.BuilderresourceQuery(Consumer<ResourceQuery.Builder> resourceQuery) The resource query that determines which Amazon Web Services resources are members of this group.resourceQuery(ResourceQuery resourceQuery) The resource query that determines which Amazon Web Services resources are members of this group.The tags to add to the group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe name of the group, which is the identifier of the group in other operations. You can't change the name of a resource group after you create it. A resource group name can consist of letters, numbers, hyphens, periods, and underscores. The name cannot start with AWS,aws, or any other possible capitalization; these are reserved. A resource group name must be unique within each Amazon Web Services Region in your Amazon Web Services account.- Parameters:
- name- The name of the group, which is the identifier of the group in other operations. You can't change the name of a resource group after you create it. A resource group name can consist of letters, numbers, hyphens, periods, and underscores. The name cannot start with- AWS,- aws, or any other possible capitalization; these are reserved. A resource group name must be unique within each Amazon Web Services Region in your Amazon Web Services account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces. - Parameters:
- description- The description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceQueryThe resource query that determines which Amazon Web Services resources are members of this group. For more information about resource queries, see Create a tag-based group in Resource Groups. A resource group can contain either a ResourceQueryor aConfiguration, but not both.- Parameters:
- resourceQuery- The resource query that determines which Amazon Web Services resources are members of this group. For more information about resource queries, see Create a tag-based group in Resource Groups.- A resource group can contain either a - ResourceQueryor a- Configuration, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceQueryThe resource query that determines which Amazon Web Services resources are members of this group. For more information about resource queries, see Create a tag-based group in Resource Groups. A resource group can contain either a ResourceQueryor aConfiguration, but not both.ResourceQuery.Builderavoiding the need to create one manually viaResourceQuery.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceQuery(ResourceQuery).- Parameters:
- resourceQuery- a consumer that will call methods on- ResourceQuery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsThe tags to add to the group. A tag is key-value pair string. - Parameters:
- tags- The tags to add to the group. A tag is key-value pair string.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
configurationA 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 details about the syntax of service configurations, see Service configurations for Resource Groups. A resource group can contain either a Configurationor aResourceQuery, but not both.- Parameters:
- configuration- 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 details about the syntax of service configurations, see Service configurations for Resource Groups.- A resource group can contain either a - Configurationor a- ResourceQuery, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
configurationA 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 details about the syntax of service configurations, see Service configurations for Resource Groups. A resource group can contain either a Configurationor aResourceQuery, but not both.- Parameters:
- configuration- 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 details about the syntax of service configurations, see Service configurations for Resource Groups.- A resource group can contain either a - Configurationor a- ResourceQuery, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
configurationA 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 details about the syntax of service configurations, see Service configurations for Resource Groups. A 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 on- GroupConfigurationItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
criticalityThe critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical. - Parameters:
- criticality- The critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ownerA name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization. - Parameters:
- owner- A name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
displayNameThe name of the application group, which you can change at any time. - Parameters:
- displayName- The name of the application group, which you can change at any time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-