Interface CreateTransitGatewayRouteTableAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateTransitGatewayRouteTableAttachmentResponse.Builder,,CreateTransitGatewayRouteTableAttachmentResponse> NetworkManagerResponse.Builder,SdkBuilder<CreateTransitGatewayRouteTableAttachmentResponse.Builder,,CreateTransitGatewayRouteTableAttachmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateTransitGatewayRouteTableAttachmentResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
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.Builderavoiding the need to create one manually viaTransitGatewayRouteTableAttachment.builder().When the
Consumercompletes,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:
-