Interface GetTransitGatewayRouteTableAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTransitGatewayRouteTableAttachmentResponse.Builder,
,GetTransitGatewayRouteTableAttachmentResponse> NetworkManagerResponse.Builder
,SdkBuilder<GetTransitGatewayRouteTableAttachmentResponse.Builder,
,GetTransitGatewayRouteTableAttachmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTransitGatewayRouteTableAttachmentResponse
@Mutable
@NotThreadSafe
public static interface GetTransitGatewayRouteTableAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetTransitGatewayRouteTableAttachmentResponse.Builder,GetTransitGatewayRouteTableAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontransitGatewayRouteTableAttachment
(Consumer<TransitGatewayRouteTableAttachment.Builder> transitGatewayRouteTableAttachment) Returns information about the transit gateway route table attachment.transitGatewayRouteTableAttachment
(TransitGatewayRouteTableAttachment transitGatewayRouteTableAttachment) Returns information about the transit gateway route table attachment.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
transitGatewayRouteTableAttachment
GetTransitGatewayRouteTableAttachmentResponse.Builder transitGatewayRouteTableAttachment(TransitGatewayRouteTableAttachment transitGatewayRouteTableAttachment) Returns information about the transit gateway route table attachment.
- Parameters:
transitGatewayRouteTableAttachment
- Returns information about the transit gateway route table attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayRouteTableAttachment
default GetTransitGatewayRouteTableAttachmentResponse.Builder transitGatewayRouteTableAttachment(Consumer<TransitGatewayRouteTableAttachment.Builder> transitGatewayRouteTableAttachment) Returns information about the transit gateway route table attachment.
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:
-