Interface GetGroupConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGroupConfigurationResponse.Builder,
,GetGroupConfigurationResponse> ResourceGroupsResponse.Builder
,SdkBuilder<GetGroupConfigurationResponse.Builder,
,GetGroupConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGroupConfigurationResponse
public static interface GetGroupConfigurationResponse.Builder
extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<GetGroupConfigurationResponse.Builder,GetGroupConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongroupConfiguration
(Consumer<GroupConfiguration.Builder> groupConfiguration) A structure that describes the service configuration attached with the specified group.groupConfiguration
(GroupConfiguration groupConfiguration) A structure that describes the service configuration attached with the specified group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
groupConfiguration
A structure that describes the service configuration attached with the specified group. For details about the service configuration syntax, see Service configurations for Resource Groups.
- Parameters:
groupConfiguration
- A structure that describes the service configuration attached with the specified group. For details about the service configuration syntax, see Service configurations for Resource Groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupConfiguration
default GetGroupConfigurationResponse.Builder groupConfiguration(Consumer<GroupConfiguration.Builder> groupConfiguration) A structure that describes the service configuration attached with the specified group. For details about the service configuration syntax, see Service configurations for Resource Groups.
This is a convenience method that creates an instance of theGroupConfiguration.Builder
avoiding the need to create one manually viaGroupConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupConfiguration(GroupConfiguration)
.- Parameters:
groupConfiguration
- a consumer that will call methods onGroupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-