Interface DescribeGatewayInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGatewayInstanceResponse.Builder,,DescribeGatewayInstanceResponse> MediaConnectResponse.Builder,SdkBuilder<DescribeGatewayInstanceResponse.Builder,,DescribeGatewayInstanceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeGatewayInstanceResponse
@Mutable
@NotThreadSafe
public static interface DescribeGatewayInstanceResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeGatewayInstanceResponse.Builder,DescribeGatewayInstanceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayInstance(Consumer<GatewayInstance.Builder> gatewayInstance) The gateway instance that you requested a description of.gatewayInstance(GatewayInstance gatewayInstance) The gateway instance that you requested a description of.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
gatewayInstance
The gateway instance that you requested a description of.
- Parameters:
gatewayInstance- The gateway instance that you requested a description of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayInstance
default DescribeGatewayInstanceResponse.Builder gatewayInstance(Consumer<GatewayInstance.Builder> gatewayInstance) The gateway instance that you requested a description of.
This is a convenience method that creates an instance of theGatewayInstance.Builderavoiding the need to create one manually viaGatewayInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayInstance(GatewayInstance).- Parameters:
gatewayInstance- a consumer that will call methods onGatewayInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-