@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointDetails extends Object implements Serializable, Cloneable, StructuredPojo
The virtual private cloud (VPC) endpoint settings that are configured for your file transfer protocol-enabled server.
With a VPC endpoint, you can restrict access to your server and resources only within your VPC. To control incoming
internet traffic, invoke the UpdateServer API and attach an Elastic IP address to your server's
endpoint.
After May 19, 2021, you won't be able to create a server using EndpointType=VPC_ENDPOINT in your Amazon
Web Servicesaccount if your account hasn't already done so before May 19, 2021. If you have already created servers
with EndpointType=VPC_ENDPOINT in your Amazon Web Servicesaccount on or before May 19, 2021, you will
not be affected. After this date, use EndpointType=VPC.
For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
| Constructor and Description |
|---|
EndpointDetails() |
| Modifier and Type | Method and Description |
|---|---|
EndpointDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAddressAllocationIds()
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
|
List<String> |
getSecurityGroupIds()
A list of security groups IDs that are available to attach to your server's endpoint.
|
List<String> |
getSubnetIds()
A list of subnet IDs that are required to host your server endpoint in your VPC.
|
String |
getVpcEndpointId()
The identifier of the VPC endpoint.
|
String |
getVpcId()
The VPC identifier of the VPC in which a server's endpoint will be hosted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAddressAllocationIds(Collection<String> addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security groups IDs that are available to attach to your server's endpoint.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are required to host your server endpoint in your VPC.
|
void |
setVpcEndpointId(String vpcEndpointId)
The identifier of the VPC endpoint.
|
void |
setVpcId(String vpcId)
The VPC identifier of the VPC in which a server's endpoint will be hosted.
|
String |
toString()
Returns a string representation of this object.
|
EndpointDetails |
withAddressAllocationIds(Collection<String> addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
|
EndpointDetails |
withAddressAllocationIds(String... addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
|
EndpointDetails |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security groups IDs that are available to attach to your server's endpoint.
|
EndpointDetails |
withSecurityGroupIds(String... securityGroupIds)
A list of security groups IDs that are available to attach to your server's endpoint.
|
EndpointDetails |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are required to host your server endpoint in your VPC.
|
EndpointDetails |
withSubnetIds(String... subnetIds)
A list of subnet IDs that are required to host your server endpoint in your VPC.
|
EndpointDetails |
withVpcEndpointId(String vpcEndpointId)
The identifier of the VPC endpoint.
|
EndpointDetails |
withVpcId(String vpcId)
The VPC identifier of the VPC in which a server's endpoint will be hosted.
|
public List<String> getAddressAllocationIds()
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
This property can only be set when EndpointType is set to VPC and it is only valid in
the UpdateServer API.
This property can only be set when EndpointType is set to VPC and it is only
valid in the UpdateServer API.
public void setAddressAllocationIds(Collection<String> addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
This property can only be set when EndpointType is set to VPC and it is only valid in
the UpdateServer API.
addressAllocationIds - A list of address allocation IDs that are required to attach an Elastic IP address to your server's
endpoint.
This property can only be set when EndpointType is set to VPC and it is only
valid in the UpdateServer API.
public EndpointDetails withAddressAllocationIds(String... addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
This property can only be set when EndpointType is set to VPC and it is only valid in
the UpdateServer API.
NOTE: This method appends the values to the existing list (if any). Use
setAddressAllocationIds(java.util.Collection) or withAddressAllocationIds(java.util.Collection)
if you want to override the existing values.
addressAllocationIds - A list of address allocation IDs that are required to attach an Elastic IP address to your server's
endpoint.
This property can only be set when EndpointType is set to VPC and it is only
valid in the UpdateServer API.
public EndpointDetails withAddressAllocationIds(Collection<String> addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
This property can only be set when EndpointType is set to VPC and it is only valid in
the UpdateServer API.
addressAllocationIds - A list of address allocation IDs that are required to attach an Elastic IP address to your server's
endpoint.
This property can only be set when EndpointType is set to VPC and it is only
valid in the UpdateServer API.
public List<String> getSubnetIds()
A list of subnet IDs that are required to host your server endpoint in your VPC.
This property can only be set when EndpointType is set to VPC.
This property can only be set when EndpointType is set to VPC.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are required to host your server endpoint in your VPC.
This property can only be set when EndpointType is set to VPC.
subnetIds - A list of subnet IDs that are required to host your server endpoint in your VPC.
This property can only be set when EndpointType is set to VPC.
public EndpointDetails withSubnetIds(String... subnetIds)
A list of subnet IDs that are required to host your server endpoint in your VPC.
This property can only be set when EndpointType is set to VPC.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection) or withSubnetIds(java.util.Collection) if you want to
override the existing values.
subnetIds - A list of subnet IDs that are required to host your server endpoint in your VPC.
This property can only be set when EndpointType is set to VPC.
public EndpointDetails withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are required to host your server endpoint in your VPC.
This property can only be set when EndpointType is set to VPC.
subnetIds - A list of subnet IDs that are required to host your server endpoint in your VPC.
This property can only be set when EndpointType is set to VPC.
public void setVpcEndpointId(String vpcEndpointId)
The identifier of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
vpcEndpointId - The identifier of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
public String getVpcEndpointId()
The identifier of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
public EndpointDetails withVpcEndpointId(String vpcEndpointId)
The identifier of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
vpcEndpointId - The identifier of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
public void setVpcId(String vpcId)
The VPC identifier of the VPC in which a server's endpoint will be hosted.
This property can only be set when EndpointType is set to VPC.
vpcId - The VPC identifier of the VPC in which a server's endpoint will be hosted.
This property can only be set when EndpointType is set to VPC.
public String getVpcId()
The VPC identifier of the VPC in which a server's endpoint will be hosted.
This property can only be set when EndpointType is set to VPC.
This property can only be set when EndpointType is set to VPC.
public EndpointDetails withVpcId(String vpcId)
The VPC identifier of the VPC in which a server's endpoint will be hosted.
This property can only be set when EndpointType is set to VPC.
vpcId - The VPC identifier of the VPC in which a server's endpoint will be hosted.
This property can only be set when EndpointType is set to VPC.
public List<String> getSecurityGroupIds()
A list of security groups IDs that are available to attach to your server's endpoint.
This property can only be set when EndpointType is set to VPC.
You can edit the SecurityGroupIds property in the UpdateServer API only if
you are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC. To change security groups associated with your server's VPC endpoint after creation, use the
Amazon EC2 ModifyVpcEndpoint
API.
This property can only be set when EndpointType is set to VPC.
You can edit the SecurityGroupIds property in the UpdateServer API
only if you are changing the EndpointType from PUBLIC or
VPC_ENDPOINT to VPC. To change security groups associated with your server's
VPC endpoint after creation, use the Amazon EC2 ModifyVpcEndpoint API.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security groups IDs that are available to attach to your server's endpoint.
This property can only be set when EndpointType is set to VPC.
You can edit the SecurityGroupIds property in the UpdateServer API only if
you are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC. To change security groups associated with your server's VPC endpoint after creation, use the
Amazon EC2 ModifyVpcEndpoint
API.
securityGroupIds - A list of security groups IDs that are available to attach to your server's endpoint.
This property can only be set when EndpointType is set to VPC.
You can edit the SecurityGroupIds property in the UpdateServer API
only if you are changing the EndpointType from PUBLIC or
VPC_ENDPOINT to VPC. To change security groups associated with your server's VPC
endpoint after creation, use the Amazon EC2 ModifyVpcEndpoint API.
public EndpointDetails withSecurityGroupIds(String... securityGroupIds)
A list of security groups IDs that are available to attach to your server's endpoint.
This property can only be set when EndpointType is set to VPC.
You can edit the SecurityGroupIds property in the UpdateServer API only if
you are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC. To change security groups associated with your server's VPC endpoint after creation, use the
Amazon EC2 ModifyVpcEndpoint
API.
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 - A list of security groups IDs that are available to attach to your server's endpoint.
This property can only be set when EndpointType is set to VPC.
You can edit the SecurityGroupIds property in the UpdateServer API
only if you are changing the EndpointType from PUBLIC or
VPC_ENDPOINT to VPC. To change security groups associated with your server's VPC
endpoint after creation, use the Amazon EC2 ModifyVpcEndpoint API.
public EndpointDetails withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security groups IDs that are available to attach to your server's endpoint.
This property can only be set when EndpointType is set to VPC.
You can edit the SecurityGroupIds property in the UpdateServer API only if
you are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC. To change security groups associated with your server's VPC endpoint after creation, use the
Amazon EC2 ModifyVpcEndpoint
API.
securityGroupIds - A list of security groups IDs that are available to attach to your server's endpoint.
This property can only be set when EndpointType is set to VPC.
You can edit the SecurityGroupIds property in the UpdateServer API
only if you are changing the EndpointType from PUBLIC or
VPC_ENDPOINT to VPC. To change security groups associated with your server's VPC
endpoint after creation, use the Amazon EC2 ModifyVpcEndpoint API.
public String toString()
toString in class ObjectObject.toString()public EndpointDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.