@Generated(value="software.amazon.awssdk:codegen") public final class EndpointDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointDetails.Builder,EndpointDetails>
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 March 31, 2021, you won't be able to create a server using EndpointType=VPC_ENDPOINT in your AWS
account if your account hasn't already done so before March 31, 2021. If you have already created servers with
EndpointType=VPC_ENDPOINT in your AWS account on or before March 31, 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EndpointDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addressAllocationIds()
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
|
static EndpointDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAddressAllocationIds()
Returns true if the AddressAllocationIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSecurityGroupIds()
Returns true if the SecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSubnetIds()
Returns true if the SubnetIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
A list of security groups IDs that are available to attach to your server's endpoint.
|
static Class<? extends EndpointDetails.Builder> |
serializableBuilderClass() |
List<String> |
subnetIds()
A list of subnet IDs that are required to host your server endpoint in your VPC.
|
EndpointDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcEndpointId()
The ID of the VPC endpoint.
|
String |
vpcId()
The VPC ID of the VPC in which a server's endpoint will be hosted.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAddressAllocationIds()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAddressAllocationIds() to see if a value was sent in this field.
This property can only be set when EndpointType is set to VPC and it is only
valid in the UpdateServer API.
public final boolean hasSubnetIds()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubnetIds() to see if a value was sent in this field.
This property can only be set when EndpointType is set to VPC.
public final String vpcEndpointId()
The ID 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 final 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.
This property can only be set when EndpointType is set to VPC.
public final boolean hasSecurityGroupIds()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroupIds() to see if a value was sent in this field.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EndpointDetails.Builder,EndpointDetails>public static EndpointDetails.Builder builder()
public static Class<? extends EndpointDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.