Interface CreateGatewayResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGatewayResponse.Builder,,CreateGatewayResponse> MediaConnectResponse.Builder,SdkBuilder<CreateGatewayResponse.Builder,,CreateGatewayResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateGatewayResponse
public static interface CreateGatewayResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateGatewayResponse.Builder,CreateGatewayResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateGatewayResponse.Buildergateway(Consumer<Gateway.Builder> gateway) Sets the value of the Gateway property for this object.Sets the value of the Gateway property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
gateway
Sets the value of the Gateway property for this object.- Parameters:
gateway- The new value for the Gateway property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateway
Sets the value of the Gateway property for this object. This is a convenience method that creates an instance of theGateway.Builderavoiding the need to create one manually viaGateway.builder().When the
Consumercompletes,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:
-