Interface RejectTransitGatewayClientVpnAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RejectTransitGatewayClientVpnAttachmentResponse.Builder,,RejectTransitGatewayClientVpnAttachmentResponse> Ec2Response.Builder,SdkBuilder<RejectTransitGatewayClientVpnAttachmentResponse.Builder,,RejectTransitGatewayClientVpnAttachmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RejectTransitGatewayClientVpnAttachmentResponse
@Mutable
@NotThreadSafe
public static interface RejectTransitGatewayClientVpnAttachmentResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RejectTransitGatewayClientVpnAttachmentResponse.Builder,RejectTransitGatewayClientVpnAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontransitGatewayClientVpnAttachment(Consumer<TransitGatewayClientVpnAttachment.Builder> transitGatewayClientVpnAttachment) Information about the Transit Gateway Client VPN attachment.transitGatewayClientVpnAttachment(TransitGatewayClientVpnAttachment transitGatewayClientVpnAttachment) Information about the Transit Gateway Client VPN attachment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
transitGatewayClientVpnAttachment
RejectTransitGatewayClientVpnAttachmentResponse.Builder transitGatewayClientVpnAttachment(TransitGatewayClientVpnAttachment transitGatewayClientVpnAttachment) Information about the Transit Gateway Client VPN attachment.
- Parameters:
transitGatewayClientVpnAttachment- Information about the Transit Gateway Client VPN attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayClientVpnAttachment
default RejectTransitGatewayClientVpnAttachmentResponse.Builder transitGatewayClientVpnAttachment(Consumer<TransitGatewayClientVpnAttachment.Builder> transitGatewayClientVpnAttachment) Information about the Transit Gateway Client VPN attachment.
This is a convenience method that creates an instance of theTransitGatewayClientVpnAttachment.Builderavoiding the need to create one manually viaTransitGatewayClientVpnAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransitGatewayClientVpnAttachment(TransitGatewayClientVpnAttachment).- Parameters:
transitGatewayClientVpnAttachment- a consumer that will call methods onTransitGatewayClientVpnAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-