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