Interface GetGatewayGroupResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGatewayGroupResponse.Builder,
,GetGatewayGroupResponse> SdkBuilder<GetGatewayGroupResponse.Builder,
,GetGatewayGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGatewayGroupResponse
public static interface GetGatewayGroupResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetGatewayGroupResponse.Builder,GetGatewayGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGatewayGroupResponse.Builder
gatewayGroup
(Consumer<GatewayGroup.Builder> gatewayGroup) Sets the value of the GatewayGroup property for this object.gatewayGroup
(GatewayGroup gatewayGroup) Sets the value of the GatewayGroup property for this object.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
gatewayGroup
Sets the value of the GatewayGroup property for this object.- Parameters:
gatewayGroup
- The new value for the GatewayGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayGroup
Sets the value of the GatewayGroup property for this object. This is a convenience method that creates an instance of theGatewayGroup.Builder
avoiding the need to create one manually viaGatewayGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togatewayGroup(GatewayGroup)
.- Parameters:
gatewayGroup
- a consumer that will call methods onGatewayGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-