/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.transfer.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* 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. *
** 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.
*
* 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
.
*
* 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. *
** 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
.
*
* 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.
*
* 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.
*
* 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.
*
* 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 * {@link #setAddressAllocationIds(java.util.Collection)} or {@link #withAddressAllocationIds(java.util.Collection)} * if you want to override the existing values. *
* * @param 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.
*
* 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.
*
* 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
.
*
* 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
.
*
* 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 * {@link #setSubnetIds(java.util.Collection)} or {@link #withSubnetIds(java.util.Collection)} if you want to * override the existing values. *
* * @param 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
.
*
* 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
.
*
* 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 void setVpcEndpointId(String vpcEndpointId) { this.vpcEndpointId = 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 String getVpcEndpointId() { return this.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. *
* @return Returns a reference to this object so that method calls can be chained together. */ public EndpointDetails withVpcEndpointId(String vpcEndpointId) { setVpcEndpointId(vpcEndpointId); return this; } /** ** 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
.
*
* 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
.
*
* 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
.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSecurityGroupIds(java.util.Collection)} or {@link #withSecurityGroupIds(java.util.Collection)} if you * want to override the existing values. *
* * @param 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.
*
* 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.
*
* 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.
*