Interface Ec2InstanceConnectEndpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Ec2InstanceConnectEndpoint.Builder,
,Ec2InstanceConnectEndpoint> SdkBuilder<Ec2InstanceConnectEndpoint.Builder,
,Ec2InstanceConnectEndpoint> SdkPojo
- Enclosing class:
Ec2InstanceConnectEndpoint
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone of the EC2 Instance Connect Endpoint.The date and time that the EC2 Instance Connect Endpoint was created.The DNS name of the EC2 Instance Connect Endpoint.fipsDnsName
(String fipsDnsName) instanceConnectEndpointArn
(String instanceConnectEndpointArn) The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.instanceConnectEndpointId
(String instanceConnectEndpointId) The ID of the EC2 Instance Connect Endpoint.networkInterfaceIds
(String... networkInterfaceIds) The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.networkInterfaceIds
(Collection<String> networkInterfaceIds) The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.preserveClientIp
(Boolean preserveClientIp) Indicates whether your client's IP address is preserved as the source.securityGroupIds
(String... securityGroupIds) The security groups associated with the endpoint.securityGroupIds
(Collection<String> securityGroupIds) The security groups associated with the endpoint.The current state of the EC2 Instance Connect Endpoint.The current state of the EC2 Instance Connect Endpoint.stateMessage
(String stateMessage) The message for the current state of the EC2 Instance Connect Endpoint.The ID of the subnet in which the EC2 Instance Connect Endpoint was created.tags
(Collection<Tag> tags) The tags assigned to the EC2 Instance Connect Endpoint.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the EC2 Instance Connect Endpoint.The tags assigned to the EC2 Instance Connect Endpoint.The ID of the VPC in which the EC2 Instance Connect Endpoint was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
ownerId
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
- Parameters:
ownerId
- The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceConnectEndpointId
The ID of the EC2 Instance Connect Endpoint.
- Parameters:
instanceConnectEndpointId
- The ID of the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceConnectEndpointArn
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
- Parameters:
instanceConnectEndpointArn
- The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the EC2 Instance Connect Endpoint.
- Parameters:
state
- The current state of the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the EC2 Instance Connect Endpoint.
- Parameters:
state
- The current state of the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateMessage
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
- Parameters:
stateMessage
- The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsName
The DNS name of the EC2 Instance Connect Endpoint.
- Parameters:
dnsName
- The DNS name of the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fipsDnsName
- Parameters:
fipsDnsName
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceIds
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- Parameters:
networkInterfaceIds
- The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceIds
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
- Parameters:
networkInterfaceIds
- The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
- Parameters:
vpcId
- The ID of the VPC in which the EC2 Instance Connect Endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the EC2 Instance Connect Endpoint.
- Parameters:
availabilityZone
- The Availability Zone of the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time that the EC2 Instance Connect Endpoint was created.
- Parameters:
createdAt
- The date and time that the EC2 Instance Connect Endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
- Parameters:
subnetId
- The ID of the subnet in which the EC2 Instance Connect Endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
-
securityGroupIds
The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
- Parameters:
securityGroupIds
- The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
- Parameters:
securityGroupIds
- The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the EC2 Instance Connect Endpoint.
- Parameters:
tags
- The tags assigned to the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the EC2 Instance Connect Endpoint.
- Parameters:
tags
- The tags assigned to the EC2 Instance Connect Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the EC2 Instance Connect Endpoint.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-