@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateLinkConfig extends Object implements Serializable, Cloneable, StructuredPojo
The VPC endpoint, subnet, and security group that an agent uses to access IP addresses in a VPC (Virtual Private Cloud).
Constructor and Description |
---|
PrivateLinkConfig() |
Modifier and Type | Method and Description |
---|---|
PrivateLinkConfig |
clone() |
boolean |
equals(Object obj) |
String |
getPrivateLinkEndpoint()
The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink.
|
List<String> |
getSecurityGroupArns()
The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an
agent activated in a VPC or an agent that has access to a VPC endpoint.
|
List<String> |
getSubnetArns()
The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent
that has access to a VPC endpoint.
|
String |
getVpcEndpointId()
The ID of the VPC endpoint that is configured for an agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPrivateLinkEndpoint(String privateLinkEndpoint)
The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink.
|
void |
setSecurityGroupArns(Collection<String> securityGroupArns)
The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an
agent activated in a VPC or an agent that has access to a VPC endpoint.
|
void |
setSubnetArns(Collection<String> subnetArns)
The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent
that has access to a VPC endpoint.
|
void |
setVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint that is configured for an agent.
|
String |
toString()
Returns a string representation of this object.
|
PrivateLinkConfig |
withPrivateLinkEndpoint(String privateLinkEndpoint)
The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink.
|
PrivateLinkConfig |
withSecurityGroupArns(Collection<String> securityGroupArns)
The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an
agent activated in a VPC or an agent that has access to a VPC endpoint.
|
PrivateLinkConfig |
withSecurityGroupArns(String... securityGroupArns)
The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an
agent activated in a VPC or an agent that has access to a VPC endpoint.
|
PrivateLinkConfig |
withSubnetArns(Collection<String> subnetArns)
The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent
that has access to a VPC endpoint.
|
PrivateLinkConfig |
withSubnetArns(String... subnetArns)
The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent
that has access to a VPC endpoint.
|
PrivateLinkConfig |
withVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint that is configured for an agent.
|
public void setVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint that is configured for an agent. An agent that is configured with a VPC endpoint will not be accessible over the public internet.
vpcEndpointId
- The ID of the VPC endpoint that is configured for an agent. An agent that is configured with a VPC
endpoint will not be accessible over the public internet.public String getVpcEndpointId()
The ID of the VPC endpoint that is configured for an agent. An agent that is configured with a VPC endpoint will not be accessible over the public internet.
public PrivateLinkConfig withVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint that is configured for an agent. An agent that is configured with a VPC endpoint will not be accessible over the public internet.
vpcEndpointId
- The ID of the VPC endpoint that is configured for an agent. An agent that is configured with a VPC
endpoint will not be accessible over the public internet.public void setPrivateLinkEndpoint(String privateLinkEndpoint)
The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink. An agent that is configured with this endpoint will not be accessible over the public internet.
privateLinkEndpoint
- The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink. An agent
that is configured with this endpoint will not be accessible over the public internet.public String getPrivateLinkEndpoint()
The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink. An agent that is configured with this endpoint will not be accessible over the public internet.
public PrivateLinkConfig withPrivateLinkEndpoint(String privateLinkEndpoint)
The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink. An agent that is configured with this endpoint will not be accessible over the public internet.
privateLinkEndpoint
- The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink. An agent
that is configured with this endpoint will not be accessible over the public internet.public List<String> getSubnetArns()
The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent that has access to a VPC endpoint.
public void setSubnetArns(Collection<String> subnetArns)
The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent that has access to a VPC endpoint.
subnetArns
- The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an
agent that has access to a VPC endpoint.public PrivateLinkConfig withSubnetArns(String... subnetArns)
The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent that has access to a VPC endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetArns(java.util.Collection)
or withSubnetArns(java.util.Collection)
if you want to
override the existing values.
subnetArns
- The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an
agent that has access to a VPC endpoint.public PrivateLinkConfig withSubnetArns(Collection<String> subnetArns)
The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent that has access to a VPC endpoint.
subnetArns
- The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an
agent that has access to a VPC endpoint.public List<String> getSecurityGroupArns()
The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an agent activated in a VPC or an agent that has access to a VPC endpoint.
public void setSecurityGroupArns(Collection<String> securityGroupArns)
The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an agent activated in a VPC or an agent that has access to a VPC endpoint.
securityGroupArns
- The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that
hosts an agent activated in a VPC or an agent that has access to a VPC endpoint.public PrivateLinkConfig withSecurityGroupArns(String... securityGroupArns)
The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an agent activated in a VPC or an agent that has access to a VPC endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupArns(java.util.Collection)
or withSecurityGroupArns(java.util.Collection)
if
you want to override the existing values.
securityGroupArns
- The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that
hosts an agent activated in a VPC or an agent that has access to a VPC endpoint.public PrivateLinkConfig withSecurityGroupArns(Collection<String> securityGroupArns)
The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an agent activated in a VPC or an agent that has access to a VPC endpoint.
securityGroupArns
- The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that
hosts an agent activated in a VPC or an agent that has access to a VPC endpoint.public String toString()
toString
in class Object
Object.toString()
public PrivateLinkConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.