Interface GetGatewayResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGatewayResponse.Builder,
,GetGatewayResponse> SdkBuilder<GetGatewayResponse.Builder,
,GetGatewayResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGatewayResponse
public static interface GetGatewayResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetGatewayResponse.Builder,GetGatewayResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGatewayResponse.Builder
gateway
(Consumer<Gateway.Builder> gateway) The details of the gateway.The details of the gateway.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
-
gateway
The details of the gateway.
- Parameters:
gateway
- The details of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateway
The details of the gateway.
This is a convenience method that creates an instance of theGateway.Builder
avoiding the need to create one manually viaGateway.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togateway(Gateway)
.- Parameters:
gateway
- a consumer that will call methods onGateway.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-