Interface GetGroupConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGroupConfigurationResponse.Builder,,GetGroupConfigurationResponse> ResourceGroupsResponse.Builder,SdkBuilder<GetGroupConfigurationResponse.Builder,,GetGroupConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetGroupConfigurationResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaGroupConfiguration.builder().When the
Consumercompletes,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:
-