Interface RejectTransitGatewaySseConnectAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RejectTransitGatewaySseConnectAttachmentResponse.Builder,,RejectTransitGatewaySseConnectAttachmentResponse> Ec2Response.Builder,SdkBuilder<RejectTransitGatewaySseConnectAttachmentResponse.Builder,,RejectTransitGatewaySseConnectAttachmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RejectTransitGatewaySseConnectAttachmentResponse
@Mutable
@NotThreadSafe
public static interface RejectTransitGatewaySseConnectAttachmentResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RejectTransitGatewaySseConnectAttachmentResponse.Builder,RejectTransitGatewaySseConnectAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontransitGatewayAttachment(Consumer<TransitGatewayAttachment.Builder> transitGatewayAttachment) The SSE Connect attachment that you rejected, including its state.transitGatewayAttachment(TransitGatewayAttachment transitGatewayAttachment) The SSE Connect attachment that you rejected, including its state.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
-
transitGatewayAttachment
RejectTransitGatewaySseConnectAttachmentResponse.Builder transitGatewayAttachment(TransitGatewayAttachment transitGatewayAttachment) The SSE Connect attachment that you rejected, including its state.
- Parameters:
transitGatewayAttachment- The SSE Connect attachment that you rejected, including its state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayAttachment
default RejectTransitGatewaySseConnectAttachmentResponse.Builder transitGatewayAttachment(Consumer<TransitGatewayAttachment.Builder> transitGatewayAttachment) The SSE Connect attachment that you rejected, including its state.
This is a convenience method that creates an instance of theTransitGatewayAttachment.Builderavoiding the need to create one manually viaTransitGatewayAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransitGatewayAttachment(TransitGatewayAttachment).- Parameters:
transitGatewayAttachment- a consumer that will call methods onTransitGatewayAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-