Interface CreateRouteServerEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRouteServerEndpointRequest.Builder,CreateRouteServerEndpointRequest>,Ec2Request.Builder,SdkBuilder<CreateRouteServerEndpointRequest.Builder,CreateRouteServerEndpointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRouteServerEndpointRequest
public static interface CreateRouteServerEndpointRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateRouteServerEndpointRequest.Builder,CreateRouteServerEndpointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRouteServerEndpointRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier to ensure idempotency of the request.CreateRouteServerEndpointRequest.BuilderdryRun(Boolean dryRun)A check for whether you have the required permissions for the action without actually making the request and provides an error response.CreateRouteServerEndpointRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRouteServerEndpointRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRouteServerEndpointRequest.BuilderrouteServerId(String routeServerId)The ID of the route server for which to create an endpoint.CreateRouteServerEndpointRequest.BuildersubnetId(String subnetId)The ID of the subnet in which to create the route server endpoint.CreateRouteServerEndpointRequest.BuildertagSpecifications(Collection<TagSpecification> tagSpecifications)The tags to apply to the route server endpoint during creation.CreateRouteServerEndpointRequest.BuildertagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)The tags to apply to the route server endpoint during creation.CreateRouteServerEndpointRequest.BuildertagSpecifications(TagSpecification... tagSpecifications)The tags to apply to the route server endpoint during creation.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
routeServerId
CreateRouteServerEndpointRequest.Builder routeServerId(String routeServerId)
The ID of the route server for which to create an endpoint.
- Parameters:
routeServerId- The ID of the route server for which to create an endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
CreateRouteServerEndpointRequest.Builder subnetId(String subnetId)
The ID of the subnet in which to create the route server endpoint.
- Parameters:
subnetId- The ID of the subnet in which to create the route server endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateRouteServerEndpointRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
CreateRouteServerEndpointRequest.Builder dryRun(Boolean dryRun)
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateRouteServerEndpointRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the route server endpoint during creation.
- Parameters:
tagSpecifications- The tags to apply to the route server endpoint during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateRouteServerEndpointRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the route server endpoint during creation.
- Parameters:
tagSpecifications- The tags to apply to the route server endpoint during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateRouteServerEndpointRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the route server endpoint during creation.
This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagSpecifications(List.) - Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagSpecifications(java.util.Collection)
-
overrideConfiguration
CreateRouteServerEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRouteServerEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-