@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 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.
| 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()
For responses, this returns true if the service returned a value for the AddressAllocationIds property.
|
int |
hashCode() |
boolean |
hasSecurityGroupIds()
For responses, this returns true if the service returned a value for the SecurityGroupIds property.
|
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
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 identifier of the VPC endpoint.
|
String |
vpcId()
The VPC identifier of the VPC in which a server's endpoint will be hosted.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAddressAllocationIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAddressAllocationIds() method.
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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubnetIds() method.
This property can only be set when EndpointType is set to VPC.
public final 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.
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 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 final boolean hasSecurityGroupIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroupIds() method.
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 © 2023. All rights reserved.