@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 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 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 ID of the VPC endpoint.
|
String |
getVpcId()
The VPC ID of the VPC in which a server's endpoint will be hosted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 ID of the VPC endpoint.
|
void |
setVpcId(String vpcId)
The VPC ID 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 ID of the VPC endpoint.
|
EndpointDetails |
withVpcId(String vpcId)
The VPC ID 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 ID of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
vpcEndpointId - The ID of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
public String getVpcEndpointId()
The ID of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
public EndpointDetails withVpcEndpointId(String vpcEndpointId)
The ID of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
vpcEndpointId - The ID of the VPC endpoint.
This property can only be set when EndpointType is set to VPC_ENDPOINT.
public void setVpcId(String vpcId)
The VPC ID 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 ID 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 ID 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 ID 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 ID 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 only edit the SecurityGroupIds property in the UpdateServer API and only if you
are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC.
This property can only be set when EndpointType is set to VPC.
You can only edit the SecurityGroupIds property in the UpdateServer API and
only if you are changing the EndpointType from PUBLIC or
VPC_ENDPOINT to VPC.
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 only edit the SecurityGroupIds property in the UpdateServer API and only if you
are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC.
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 only edit the SecurityGroupIds property in the UpdateServer API and only
if you are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC.
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 only edit the SecurityGroupIds property in the UpdateServer API and only if you
are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC.
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 only edit the SecurityGroupIds property in the UpdateServer API and only
if you are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC.
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 only edit the SecurityGroupIds property in the UpdateServer API and only if you
are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC.
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 only edit the SecurityGroupIds property in the UpdateServer API and only
if you are changing the EndpointType from PUBLIC or VPC_ENDPOINT to
VPC.
public String toString()
toString in class ObjectObject.toString()public EndpointDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.