Interface CreateEgressOnlyInternetGatewayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateEgressOnlyInternetGatewayResponse.Builder,CreateEgressOnlyInternetGatewayResponse>
,Ec2Response.Builder
,SdkBuilder<CreateEgressOnlyInternetGatewayResponse.Builder,CreateEgressOnlyInternetGatewayResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateEgressOnlyInternetGatewayResponse
public static interface CreateEgressOnlyInternetGatewayResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateEgressOnlyInternetGatewayResponse.Builder,CreateEgressOnlyInternetGatewayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateEgressOnlyInternetGatewayResponse.Builder
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateEgressOnlyInternetGatewayResponse.Builder
egressOnlyInternetGateway(Consumer<EgressOnlyInternetGateway.Builder> egressOnlyInternetGateway)
Information about the egress-only internet gateway.CreateEgressOnlyInternetGatewayResponse.Builder
egressOnlyInternetGateway(EgressOnlyInternetGateway egressOnlyInternetGateway)
Information about the egress-only internet gateway.-
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
-
clientToken
CreateEgressOnlyInternetGatewayResponse.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressOnlyInternetGateway
CreateEgressOnlyInternetGatewayResponse.Builder egressOnlyInternetGateway(EgressOnlyInternetGateway egressOnlyInternetGateway)
Information about the egress-only internet gateway.
- Parameters:
egressOnlyInternetGateway
- Information about the egress-only internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressOnlyInternetGateway
default CreateEgressOnlyInternetGatewayResponse.Builder egressOnlyInternetGateway(Consumer<EgressOnlyInternetGateway.Builder> egressOnlyInternetGateway)
Information about the egress-only internet gateway.
This is a convenience method that creates an instance of theEgressOnlyInternetGateway.Builder
avoiding the need to create one manually viaEgressOnlyInternetGateway.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toegressOnlyInternetGateway(EgressOnlyInternetGateway)
.- Parameters:
egressOnlyInternetGateway
- a consumer that will call methods onEgressOnlyInternetGateway.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
egressOnlyInternetGateway(EgressOnlyInternetGateway)
-
-