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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateGatewayResponse.Buildergateway(Consumer<Gateway.Builder> gateway)Sets the value of the Gateway property for this object.CreateGatewayResponse.Buildergateway(Gateway gateway)Sets the value of the Gateway property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.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 Detail
-
gateway
CreateGatewayResponse.Builder gateway(Gateway 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
default CreateGatewayResponse.Builder gateway(Consumer<Gateway.Builder> 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:
gateway(Gateway)
-
-