@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 to your server's 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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
copy
public 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
.
This property can only be set when EndpointType
is set to 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 only edit the SecurityGroupIds
property in the UpdateServer
API and only if you
are changing the EndpointType
from PUBLIC
or VPC_ENDPOINT
to
VPC
.
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 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.Builder toBuilder()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()