Interface CreateInstanceConnectEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateInstanceConnectEndpointRequest.Builder,CreateInstanceConnectEndpointRequest>
,Ec2Request.Builder
,SdkBuilder<CreateInstanceConnectEndpointRequest.Builder,CreateInstanceConnectEndpointRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateInstanceConnectEndpointRequest
public static interface CreateInstanceConnectEndpointRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateInstanceConnectEndpointRequest.Builder,CreateInstanceConnectEndpointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateInstanceConnectEndpointRequest.Builder
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateInstanceConnectEndpointRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.CreateInstanceConnectEndpointRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateInstanceConnectEndpointRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateInstanceConnectEndpointRequest.Builder
preserveClientIp(Boolean preserveClientIp)
Indicates whether your client's IP address is preserved as the source.CreateInstanceConnectEndpointRequest.Builder
securityGroupIds(String... securityGroupIds)
One or more security groups to associate with the endpoint.CreateInstanceConnectEndpointRequest.Builder
securityGroupIds(Collection<String> securityGroupIds)
One or more security groups to associate with the endpoint.CreateInstanceConnectEndpointRequest.Builder
subnetId(String subnetId)
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.CreateInstanceConnectEndpointRequest.Builder
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.CreateInstanceConnectEndpointRequest.Builder
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.CreateInstanceConnectEndpointRequest.Builder
tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the EC2 Instance Connect 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, sdkFields
-
-
-
-
Method Detail
-
dryRun
CreateInstanceConnectEndpointRequest.Builder dryRun(Boolean dryRun)
Checks 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
- Checks 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.
-
subnetId
CreateInstanceConnectEndpointRequest.Builder subnetId(String subnetId)
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- Parameters:
subnetId
- The ID of the subnet in which to create the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
CreateInstanceConnectEndpointRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
- Parameters:
securityGroupIds
- One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
CreateInstanceConnectEndpointRequest.Builder securityGroupIds(String... securityGroupIds)
One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
- Parameters:
securityGroupIds
- One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preserveClientIp
CreateInstanceConnectEndpointRequest.Builder preserveClientIp(Boolean preserveClientIp)
Indicates whether your client's IP address is preserved as the source. The value is
true
orfalse
.-
If
true
, your client's IP address is used when you connect to a resource. -
If
false
, the elastic network interface IP address is used when you connect to a resource.
Default:
true
- Parameters:
preserveClientIp
- Indicates whether your client's IP address is preserved as the source. The value istrue
orfalse
.-
If
true
, your client's IP address is used when you connect to a resource. -
If
false
, the elastic network interface IP address is used when you connect to a resource.
Default:
true
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
clientToken
CreateInstanceConnectEndpointRequest.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.
-
tagSpecifications
CreateInstanceConnectEndpointRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
- Parameters:
tagSpecifications
- The tags to apply to the EC2 Instance Connect Endpoint during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateInstanceConnectEndpointRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
- Parameters:
tagSpecifications
- The tags to apply to the EC2 Instance Connect Endpoint during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateInstanceConnectEndpointRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
This is a convenience method that creates an instance of theTagSpecification.Builder
avoiding the need to create one manually viaTagSpecification.builder()
.When the
Consumer
completes,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
CreateInstanceConnectEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateInstanceConnectEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-