@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateLinkConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how your DataSync agent connects to Amazon Web Services using a virtual private cloud (VPC) service endpoint. An agent that uses a VPC endpoint isn't accessible over the public internet.
Constructor and Description |
---|
PrivateLinkConfig() |
Modifier and Type | Method and Description |
---|---|
PrivateLinkConfig |
clone() |
boolean |
equals(Object obj) |
String |
getPrivateLinkEndpoint()
Specifies the VPC endpoint provided by Amazon Web Services PrivateLink
that your agent connects to.
|
List<String> |
getSecurityGroupArns()
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC
endpoint.
|
List<String> |
getSubnetArns()
Specifies the ARN of the subnet where your VPC endpoint is located.
|
String |
getVpcEndpointId()
Specifies the ID of the VPC endpoint that your agent connects to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPrivateLinkEndpoint(String privateLinkEndpoint)
Specifies the VPC endpoint provided by Amazon Web Services PrivateLink
that your agent connects to.
|
void |
setSecurityGroupArns(Collection<String> securityGroupArns)
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC
endpoint.
|
void |
setSubnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where your VPC endpoint is located.
|
void |
setVpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that your agent connects to.
|
String |
toString()
Returns a string representation of this object.
|
PrivateLinkConfig |
withPrivateLinkEndpoint(String privateLinkEndpoint)
Specifies the VPC endpoint provided by Amazon Web Services PrivateLink
that your agent connects to.
|
PrivateLinkConfig |
withSecurityGroupArns(Collection<String> securityGroupArns)
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC
endpoint.
|
PrivateLinkConfig |
withSecurityGroupArns(String... securityGroupArns)
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC
endpoint.
|
PrivateLinkConfig |
withSubnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where your VPC endpoint is located.
|
PrivateLinkConfig |
withSubnetArns(String... subnetArns)
Specifies the ARN of the subnet where your VPC endpoint is located.
|
PrivateLinkConfig |
withVpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that your agent connects to.
|
public void setVpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that your agent connects to.
vpcEndpointId
- Specifies the ID of the VPC endpoint that your agent connects to.public String getVpcEndpointId()
Specifies the ID of the VPC endpoint that your agent connects to.
public PrivateLinkConfig withVpcEndpointId(String vpcEndpointId)
Specifies the ID of the VPC endpoint that your agent connects to.
vpcEndpointId
- Specifies the ID of the VPC endpoint that your agent connects to.public void setPrivateLinkEndpoint(String privateLinkEndpoint)
Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to.
privateLinkEndpoint
- Specifies the VPC endpoint provided by Amazon Web Services
PrivateLink that your agent connects to.public String getPrivateLinkEndpoint()
Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to.
public PrivateLinkConfig withPrivateLinkEndpoint(String privateLinkEndpoint)
Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to.
privateLinkEndpoint
- Specifies the VPC endpoint provided by Amazon Web Services
PrivateLink that your agent connects to.public List<String> getSubnetArns()
Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
public void setSubnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
subnetArns
- Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.public PrivateLinkConfig withSubnetArns(String... subnetArns)
Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
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
- Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.public PrivateLinkConfig withSubnetArns(Collection<String> subnetArns)
Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
subnetArns
- Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.public List<String> getSecurityGroupArns()
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.
public void setSecurityGroupArns(Collection<String> securityGroupArns)
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.
securityGroupArns
- Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC
endpoint. You can only specify one ARN.public PrivateLinkConfig withSecurityGroupArns(String... securityGroupArns)
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.
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
- Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC
endpoint. You can only specify one ARN.public PrivateLinkConfig withSecurityGroupArns(Collection<String> securityGroupArns)
Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN.
securityGroupArns
- Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC
endpoint. You can only specify one ARN.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.