Interface DescribeGatewayInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeGatewayInstanceResponse.Builder,
,DescribeGatewayInstanceResponse> MediaConnectResponse.Builder
,SdkBuilder<DescribeGatewayInstanceResponse.Builder,
,DescribeGatewayInstanceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeGatewayInstanceResponse
public static interface DescribeGatewayInstanceResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeGatewayInstanceResponse.Builder,DescribeGatewayInstanceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayInstance
(Consumer<GatewayInstance.Builder> gatewayInstance) Sets the value of the GatewayInstance property for this object.gatewayInstance
(GatewayInstance gatewayInstance) Sets the value of the GatewayInstance 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 Details
-
gatewayInstance
Sets the value of the GatewayInstance property for this object.- Parameters:
gatewayInstance
- The new value for the GatewayInstance property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayInstance
default DescribeGatewayInstanceResponse.Builder gatewayInstance(Consumer<GatewayInstance.Builder> gatewayInstance) Sets the value of the GatewayInstance property for this object. This is a convenience method that creates an instance of theGatewayInstance.Builder
avoiding the need to create one manually viaGatewayInstance.builder()
.When the
Consumer
completes,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:
-