@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ec2InstanceConnectEndpoint extends Object implements Serializable, Cloneable
The EC2 Instance Connect Endpoint.
Constructor and Description |
---|
Ec2InstanceConnectEndpoint() |
Modifier and Type | Method and Description |
---|---|
Ec2InstanceConnectEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone of the EC2 Instance Connect Endpoint.
|
Date |
getCreatedAt()
The date and time that the EC2 Instance Connect Endpoint was created.
|
String |
getDnsName()
The DNS name of the EC2 Instance Connect Endpoint.
|
String |
getFipsDnsName()
|
String |
getInstanceConnectEndpointArn()
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
|
String |
getInstanceConnectEndpointId()
The ID of the EC2 Instance Connect Endpoint.
|
List<String> |
getNetworkInterfaceIds()
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance
Connect Endpoint.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
|
Boolean |
getPreserveClientIp()
Indicates whether your client's IP address is preserved as the source.
|
List<String> |
getSecurityGroupIds()
The security groups associated with the endpoint.
|
String |
getState()
The current state of the EC2 Instance Connect Endpoint.
|
String |
getStateMessage()
The message for the current state of the EC2 Instance Connect Endpoint.
|
String |
getSubnetId()
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
|
List<Tag> |
getTags()
The tags assigned to the EC2 Instance Connect Endpoint.
|
String |
getVpcId()
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
|
int |
hashCode() |
Boolean |
isPreserveClientIp()
Indicates whether your client's IP address is preserved as the source.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone of the EC2 Instance Connect Endpoint.
|
void |
setCreatedAt(Date createdAt)
The date and time that the EC2 Instance Connect Endpoint was created.
|
void |
setDnsName(String dnsName)
The DNS name of the EC2 Instance Connect Endpoint.
|
void |
setFipsDnsName(String fipsDnsName)
|
void |
setInstanceConnectEndpointArn(String instanceConnectEndpointArn)
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
|
void |
setInstanceConnectEndpointId(String instanceConnectEndpointId)
The ID of the EC2 Instance Connect Endpoint.
|
void |
setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance
Connect Endpoint.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
|
void |
setPreserveClientIp(Boolean preserveClientIp)
Indicates whether your client's IP address is preserved as the source.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups associated with the endpoint.
|
void |
setState(String state)
The current state of the EC2 Instance Connect Endpoint.
|
void |
setStateMessage(String stateMessage)
The message for the current state of the EC2 Instance Connect Endpoint.
|
void |
setSubnetId(String subnetId)
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the EC2 Instance Connect Endpoint.
|
void |
setVpcId(String vpcId)
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
|
String |
toString()
Returns a string representation of this object.
|
Ec2InstanceConnectEndpoint |
withAvailabilityZone(String availabilityZone)
The Availability Zone of the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withCreatedAt(Date createdAt)
The date and time that the EC2 Instance Connect Endpoint was created.
|
Ec2InstanceConnectEndpoint |
withDnsName(String dnsName)
The DNS name of the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withFipsDnsName(String fipsDnsName)
|
Ec2InstanceConnectEndpoint |
withInstanceConnectEndpointArn(String instanceConnectEndpointArn)
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withInstanceConnectEndpointId(String instanceConnectEndpointId)
The ID of the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance
Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withNetworkInterfaceIds(String... networkInterfaceIds)
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance
Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withPreserveClientIp(Boolean preserveClientIp)
Indicates whether your client's IP address is preserved as the source.
|
Ec2InstanceConnectEndpoint |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups associated with the endpoint.
|
Ec2InstanceConnectEndpoint |
withSecurityGroupIds(String... securityGroupIds)
The security groups associated with the endpoint.
|
Ec2InstanceConnectEndpoint |
withState(Ec2InstanceConnectEndpointState state)
The current state of the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withState(String state)
The current state of the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withStateMessage(String stateMessage)
The message for the current state of the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withSubnetId(String subnetId)
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
|
Ec2InstanceConnectEndpoint |
withTags(Collection<Tag> tags)
The tags assigned to the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withTags(Tag... tags)
The tags assigned to the EC2 Instance Connect Endpoint.
|
Ec2InstanceConnectEndpoint |
withVpcId(String vpcId)
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
|
public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
ownerId
- The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.public String getOwnerId()
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
public Ec2InstanceConnectEndpoint withOwnerId(String ownerId)
The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.
ownerId
- The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint.public void setInstanceConnectEndpointId(String instanceConnectEndpointId)
The ID of the EC2 Instance Connect Endpoint.
instanceConnectEndpointId
- The ID of the EC2 Instance Connect Endpoint.public String getInstanceConnectEndpointId()
The ID of the EC2 Instance Connect Endpoint.
public Ec2InstanceConnectEndpoint withInstanceConnectEndpointId(String instanceConnectEndpointId)
The ID of the EC2 Instance Connect Endpoint.
instanceConnectEndpointId
- The ID of the EC2 Instance Connect Endpoint.public void setInstanceConnectEndpointArn(String instanceConnectEndpointArn)
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
instanceConnectEndpointArn
- The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.public String getInstanceConnectEndpointArn()
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
public Ec2InstanceConnectEndpoint withInstanceConnectEndpointArn(String instanceConnectEndpointArn)
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
instanceConnectEndpointArn
- The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.public void setState(String state)
The current state of the EC2 Instance Connect Endpoint.
state
- The current state of the EC2 Instance Connect Endpoint.Ec2InstanceConnectEndpointState
public String getState()
The current state of the EC2 Instance Connect Endpoint.
Ec2InstanceConnectEndpointState
public Ec2InstanceConnectEndpoint withState(String state)
The current state of the EC2 Instance Connect Endpoint.
state
- The current state of the EC2 Instance Connect Endpoint.Ec2InstanceConnectEndpointState
public Ec2InstanceConnectEndpoint withState(Ec2InstanceConnectEndpointState state)
The current state of the EC2 Instance Connect Endpoint.
state
- The current state of the EC2 Instance Connect Endpoint.Ec2InstanceConnectEndpointState
public void setStateMessage(String stateMessage)
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
stateMessage
- The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.public String getStateMessage()
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
public Ec2InstanceConnectEndpoint withStateMessage(String stateMessage)
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
stateMessage
- The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.public void setDnsName(String dnsName)
The DNS name of the EC2 Instance Connect Endpoint.
dnsName
- The DNS name of the EC2 Instance Connect Endpoint.public String getDnsName()
The DNS name of the EC2 Instance Connect Endpoint.
public Ec2InstanceConnectEndpoint withDnsName(String dnsName)
The DNS name of the EC2 Instance Connect Endpoint.
dnsName
- The DNS name of the EC2 Instance Connect Endpoint.public void setFipsDnsName(String fipsDnsName)
fipsDnsName
- public String getFipsDnsName()
public Ec2InstanceConnectEndpoint withFipsDnsName(String fipsDnsName)
fipsDnsName
- public List<String> getNetworkInterfaceIds()
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
public void setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
networkInterfaceIds
- The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2
Instance Connect Endpoint.public Ec2InstanceConnectEndpoint withNetworkInterfaceIds(String... networkInterfaceIds)
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaceIds(java.util.Collection)
or withNetworkInterfaceIds(java.util.Collection)
if you want to override the existing values.
networkInterfaceIds
- The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2
Instance Connect Endpoint.public Ec2InstanceConnectEndpoint withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
networkInterfaceIds
- The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2
Instance Connect Endpoint.public void setVpcId(String vpcId)
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
vpcId
- The ID of the VPC in which the EC2 Instance Connect Endpoint was created.public String getVpcId()
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
public Ec2InstanceConnectEndpoint withVpcId(String vpcId)
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
vpcId
- The ID of the VPC in which the EC2 Instance Connect Endpoint was created.public void setAvailabilityZone(String availabilityZone)
The Availability Zone of the EC2 Instance Connect Endpoint.
availabilityZone
- The Availability Zone of the EC2 Instance Connect Endpoint.public String getAvailabilityZone()
The Availability Zone of the EC2 Instance Connect Endpoint.
public Ec2InstanceConnectEndpoint withAvailabilityZone(String availabilityZone)
The Availability Zone of the EC2 Instance Connect Endpoint.
availabilityZone
- The Availability Zone of the EC2 Instance Connect Endpoint.public void setCreatedAt(Date createdAt)
The date and time that the EC2 Instance Connect Endpoint was created.
createdAt
- The date and time that the EC2 Instance Connect Endpoint was created.public Date getCreatedAt()
The date and time that the EC2 Instance Connect Endpoint was created.
public Ec2InstanceConnectEndpoint withCreatedAt(Date createdAt)
The date and time that the EC2 Instance Connect Endpoint was created.
createdAt
- The date and time that the EC2 Instance Connect Endpoint was created.public void setSubnetId(String subnetId)
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
subnetId
- The ID of the subnet in which the EC2 Instance Connect Endpoint was created.public String getSubnetId()
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
public Ec2InstanceConnectEndpoint withSubnetId(String subnetId)
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
subnetId
- The ID of the subnet in which the EC2 Instance Connect Endpoint was created.public void setPreserveClientIp(Boolean preserveClientIp)
Indicates whether your client's IP address is preserved as the source. The value is true
or
false
.
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
preserveClientIp
- Indicates whether your client's IP address is preserved as the source. The value is true
or
false
.
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
public Boolean getPreserveClientIp()
Indicates whether your client's IP address is preserved as the source. The value is true
or
false
.
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
true
or
false
.
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
public Ec2InstanceConnectEndpoint withPreserveClientIp(Boolean preserveClientIp)
Indicates whether your client's IP address is preserved as the source. The value is true
or
false
.
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
preserveClientIp
- Indicates whether your client's IP address is preserved as the source. The value is true
or
false
.
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
public Boolean isPreserveClientIp()
Indicates whether your client's IP address is preserved as the source. The value is true
or
false
.
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
true
or
false
.
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
public List<String> getSecurityGroupIds()
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.
public void setSecurityGroupIds(Collection<String> 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.
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.public Ec2InstanceConnectEndpoint withSecurityGroupIds(String... 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.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
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.public Ec2InstanceConnectEndpoint withSecurityGroupIds(Collection<String> 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.
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.public List<Tag> getTags()
The tags assigned to the EC2 Instance Connect Endpoint.
public void setTags(Collection<Tag> tags)
The tags assigned to the EC2 Instance Connect Endpoint.
tags
- The tags assigned to the EC2 Instance Connect Endpoint.public Ec2InstanceConnectEndpoint withTags(Tag... tags)
The tags assigned to the EC2 Instance Connect Endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags assigned to the EC2 Instance Connect Endpoint.public Ec2InstanceConnectEndpoint withTags(Collection<Tag> tags)
The tags assigned to the EC2 Instance Connect Endpoint.
tags
- The tags assigned to the EC2 Instance Connect Endpoint.public String toString()
toString
in class Object
Object.toString()
public Ec2InstanceConnectEndpoint clone()