@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 SFTP server. With a VPC endpoint, you
can restrict access to your SFTP server and resources only within your VPC. To control incoming internet traffic,
invoke the UpdateServer API and attach an Elastic IP to your server's 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 SFTP server's
endpoint.
|
List<String> |
getSubnetIds()
A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.
|
String |
getVpcEndpointId()
The ID of the VPC endpoint.
|
String |
getVpcId()
The VPC ID of the virtual private cloud in which the SFTP 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 SFTP server's
endpoint.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.
|
void |
setVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
|
void |
setVpcId(String vpcId)
The VPC ID of the virtual private cloud in which the SFTP 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 SFTP server's
endpoint.
|
EndpointDetails |
withAddressAllocationIds(String... addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's
endpoint.
|
EndpointDetails |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.
|
EndpointDetails |
withSubnetIds(String... subnetIds)
A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.
|
EndpointDetails |
withVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
|
EndpointDetails |
withVpcId(String vpcId)
The VPC ID of the virtual private cloud in which the SFTP 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 SFTP server's
endpoint. This is only valid in the UpdateServer API.
This property can only be use when EndpointType is set to VPC.
UpdateServer API.
This property can only be use when EndpointType is set to VPC.
public void setAddressAllocationIds(Collection<String> addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's
endpoint. This is only valid in the UpdateServer API.
This property can only be use when EndpointType is set to VPC.
addressAllocationIds - A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's
endpoint. This is only valid in the UpdateServer API.
This property can only be use when EndpointType is set to VPC.
public EndpointDetails withAddressAllocationIds(String... addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's
endpoint. This is only valid in the UpdateServer API.
This property can only be use when EndpointType is set to VPC.
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 SFTP server's
endpoint. This is only valid in the UpdateServer API.
This property can only be use when EndpointType is set to VPC.
public EndpointDetails withAddressAllocationIds(Collection<String> addressAllocationIds)
A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's
endpoint. This is only valid in the UpdateServer API.
This property can only be use when EndpointType is set to VPC.
addressAllocationIds - A list of address allocation IDs that are required to attach an Elastic IP address to your SFTP server's
endpoint. This is only valid in the UpdateServer API.
This property can only be use when EndpointType is set to VPC.
public List<String> getSubnetIds()
A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.
subnetIds - A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.public EndpointDetails withSubnetIds(String... subnetIds)
A list of subnet IDs that are required to host your SFTP server endpoint in your 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 SFTP server endpoint in your VPC.public EndpointDetails withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.
subnetIds - A list of subnet IDs that are required to host your SFTP server endpoint in your VPC.public void setVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
vpcEndpointId - The ID of the VPC endpoint.public String getVpcEndpointId()
The ID of the VPC endpoint.
public EndpointDetails withVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
vpcEndpointId - The ID of the VPC endpoint.public void setVpcId(String vpcId)
The VPC ID of the virtual private cloud in which the SFTP server's endpoint will be hosted.
vpcId - The VPC ID of the virtual private cloud in which the SFTP server's endpoint will be hosted.public String getVpcId()
The VPC ID of the virtual private cloud in which the SFTP server's endpoint will be hosted.
public EndpointDetails withVpcId(String vpcId)
The VPC ID of the virtual private cloud in which the SFTP server's endpoint will be hosted.
vpcId - The VPC ID of the virtual private cloud in which the SFTP server's endpoint will be hosted.public String toString()
toString in class ObjectObject.toString()public EndpointDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.