public static interface CreateTransitGatewayResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayResponse.Builder,CreateTransitGatewayResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateTransitGatewayResponse.Builder |
transitGateway(Consumer<TransitGateway.Builder> transitGateway)
Information about the transit gateway.
|
CreateTransitGatewayResponse.Builder |
transitGateway(TransitGateway transitGateway)
Information about the transit gateway.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildCreateTransitGatewayResponse.Builder transitGateway(TransitGateway transitGateway)
Information about the transit gateway.
transitGateway - Information about the transit gateway.default CreateTransitGatewayResponse.Builder transitGateway(Consumer<TransitGateway.Builder> transitGateway)
Information about the transit gateway.
This is a convenience that creates an instance of theTransitGateway.Builder avoiding the need to
create one manually via TransitGateway.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to transitGateway(TransitGateway).transitGateway - a consumer that will call methods on TransitGateway.BuildertransitGateway(TransitGateway)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.