Interface CreateTransitGatewayRouteTableAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateTransitGatewayRouteTableAttachmentResponse.Builder,
,CreateTransitGatewayRouteTableAttachmentResponse> NetworkManagerResponse.Builder
,SdkBuilder<CreateTransitGatewayRouteTableAttachmentResponse.Builder,
,CreateTransitGatewayRouteTableAttachmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateTransitGatewayRouteTableAttachmentResponse
public static interface CreateTransitGatewayRouteTableAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayRouteTableAttachmentResponse.Builder,CreateTransitGatewayRouteTableAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontransitGatewayRouteTableAttachment
(Consumer<TransitGatewayRouteTableAttachment.Builder> transitGatewayRouteTableAttachment) The route table associated with the create transit gateway route table attachment request.transitGatewayRouteTableAttachment
(TransitGatewayRouteTableAttachment transitGatewayRouteTableAttachment) The route table associated with the create transit gateway route table attachment request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
transitGatewayRouteTableAttachment
CreateTransitGatewayRouteTableAttachmentResponse.Builder transitGatewayRouteTableAttachment(TransitGatewayRouteTableAttachment transitGatewayRouteTableAttachment) The route table associated with the create transit gateway route table attachment request.
- Parameters:
transitGatewayRouteTableAttachment
- The route table associated with the create transit gateway route table attachment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayRouteTableAttachment
default CreateTransitGatewayRouteTableAttachmentResponse.Builder transitGatewayRouteTableAttachment(Consumer<TransitGatewayRouteTableAttachment.Builder> transitGatewayRouteTableAttachment) The route table associated with the create transit gateway route table attachment request.
This is a convenience method that creates an instance of theTransitGatewayRouteTableAttachment.Builder
avoiding the need to create one manually viaTransitGatewayRouteTableAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransitGatewayRouteTableAttachment(TransitGatewayRouteTableAttachment)
.- Parameters:
transitGatewayRouteTableAttachment
- a consumer that will call methods onTransitGatewayRouteTableAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-