Interface DescribeGatewayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGatewayResponse.Builder,DescribeGatewayResponse>,MediaConnectResponse.Builder,SdkBuilder<DescribeGatewayResponse.Builder,DescribeGatewayResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeGatewayResponse
public static interface DescribeGatewayResponse.Builder extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeGatewayResponse.Builder,DescribeGatewayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeGatewayResponse.Buildergateway(Consumer<Gateway.Builder> gateway)Sets the value of the Gateway property for this object.DescribeGatewayResponse.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
DescribeGatewayResponse.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 DescribeGatewayResponse.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)
-
-