Interface CreateTransitGatewayPeeringAttachmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateTransitGatewayPeeringAttachmentResponse.Builder,CreateTransitGatewayPeeringAttachmentResponse>
,Ec2Response.Builder
,SdkBuilder<CreateTransitGatewayPeeringAttachmentResponse.Builder,CreateTransitGatewayPeeringAttachmentResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateTransitGatewayPeeringAttachmentResponse
public static interface CreateTransitGatewayPeeringAttachmentResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayPeeringAttachmentResponse.Builder,CreateTransitGatewayPeeringAttachmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateTransitGatewayPeeringAttachmentResponse.Builder
transitGatewayPeeringAttachment(Consumer<TransitGatewayPeeringAttachment.Builder> transitGatewayPeeringAttachment)
The transit gateway peering attachment.CreateTransitGatewayPeeringAttachmentResponse.Builder
transitGatewayPeeringAttachment(TransitGatewayPeeringAttachment transitGatewayPeeringAttachment)
The transit gateway peering attachment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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 Detail
-
transitGatewayPeeringAttachment
CreateTransitGatewayPeeringAttachmentResponse.Builder transitGatewayPeeringAttachment(TransitGatewayPeeringAttachment transitGatewayPeeringAttachment)
The transit gateway peering attachment.
- Parameters:
transitGatewayPeeringAttachment
- The transit gateway peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayPeeringAttachment
default CreateTransitGatewayPeeringAttachmentResponse.Builder transitGatewayPeeringAttachment(Consumer<TransitGatewayPeeringAttachment.Builder> transitGatewayPeeringAttachment)
The transit gateway peering attachment.
This is a convenience method that creates an instance of theTransitGatewayPeeringAttachment.Builder
avoiding the need to create one manually viaTransitGatewayPeeringAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment)
.- Parameters:
transitGatewayPeeringAttachment
- a consumer that will call methods onTransitGatewayPeeringAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
transitGatewayPeeringAttachment(TransitGatewayPeeringAttachment)
-
-