@Generated(value="software.amazon.awssdk:codegen") public final class ProtocolDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProtocolDetails.Builder,ProtocolDetails>
The protocol settings that are configured for your server.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProtocolDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ProtocolDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
passiveIp()
Indicates passive mode, for FTP and FTPS protocols.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProtocolDetails.Builder> |
serializableBuilderClass() |
TlsSessionResumptionMode |
tlsSessionResumptionMode()
A property used with Transfer servers that use the FTPS protocol.
|
String |
tlsSessionResumptionModeAsString()
A property used with Transfer servers that use the FTPS protocol.
|
ProtocolDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String passiveIp()
Indicates passive mode, for FTP and FTPS protocols. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. For example:
aws transfer update-server --protocol-details PassiveIp=0.0.0.0
Replace 0.0.0.0 in the example above with the actual IP address you want to use.
If you change the PassiveIp value, you must stop and then restart your Transfer server for the
change to take effect. For details on using Passive IP (PASV) in a NAT environment, see Configuring your FTPS server behind a firewall or NAT with Amazon Web Services Transfer Family.
aws transfer update-server --protocol-details PassiveIp=0.0.0.0
Replace 0.0.0.0 in the example above with the actual IP address you want to use.
If you change the PassiveIp value, you must stop and then restart your Transfer server for
the change to take effect. For details on using Passive IP (PASV) in a NAT environment, see Configuring your FTPS server behind a firewall or NAT with Amazon Web Services Transfer Family.
public final TlsSessionResumptionMode tlsSessionResumptionMode()
A property used with Transfer servers that use the FTPS protocol. TLS Session Resumption provides a mechanism to
resume or share a negotiated secret key between the control and data connection for an FTPS session.
TlsSessionResumptionMode determines whether or not the server resumes recent, negotiated sessions
through a unique session ID. This property is available during CreateServer and
UpdateServer calls. If a TlsSessionResumptionMode value is not specified during
CreateServer, it is set to ENFORCED by default.
DISABLED: the server does not process TLS session resumption client requests and creates a new TLS
session for each request.
ENABLED: the server processes and accepts clients that are performing TLS session resumption. The
server doesn't reject client data connections that do not perform the TLS session resumption client processing.
ENFORCED: the server processes and accepts clients that are performing TLS session resumption. The
server rejects client data connections that do not perform the TLS session resumption client processing. Before
you set the value to ENFORCED, test your clients.
Not all FTPS clients perform TLS session resumption. So, if you choose to enforce TLS session resumption, you
prevent any connections from FTPS clients that don't perform the protocol negotiation. To determine whether or
not you can use the ENFORCED value, you need to test your clients.
If the service returns an enum value that is not available in the current SDK version,
tlsSessionResumptionMode will return TlsSessionResumptionMode.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from tlsSessionResumptionModeAsString().
TlsSessionResumptionMode determines whether or not the server resumes recent,
negotiated sessions through a unique session ID. This property is available during
CreateServer and UpdateServer calls. If a TlsSessionResumptionMode
value is not specified during CreateServer, it is set to ENFORCED by default.
DISABLED: the server does not process TLS session resumption client requests and creates a
new TLS session for each request.
ENABLED: the server processes and accepts clients that are performing TLS session
resumption. The server doesn't reject client data connections that do not perform the TLS session
resumption client processing.
ENFORCED: the server processes and accepts clients that are performing TLS session
resumption. The server rejects client data connections that do not perform the TLS session resumption
client processing. Before you set the value to ENFORCED, test your clients.
Not all FTPS clients perform TLS session resumption. So, if you choose to enforce TLS session resumption,
you prevent any connections from FTPS clients that don't perform the protocol negotiation. To determine
whether or not you can use the ENFORCED value, you need to test your clients.
TlsSessionResumptionModepublic final String tlsSessionResumptionModeAsString()
A property used with Transfer servers that use the FTPS protocol. TLS Session Resumption provides a mechanism to
resume or share a negotiated secret key between the control and data connection for an FTPS session.
TlsSessionResumptionMode determines whether or not the server resumes recent, negotiated sessions
through a unique session ID. This property is available during CreateServer and
UpdateServer calls. If a TlsSessionResumptionMode value is not specified during
CreateServer, it is set to ENFORCED by default.
DISABLED: the server does not process TLS session resumption client requests and creates a new TLS
session for each request.
ENABLED: the server processes and accepts clients that are performing TLS session resumption. The
server doesn't reject client data connections that do not perform the TLS session resumption client processing.
ENFORCED: the server processes and accepts clients that are performing TLS session resumption. The
server rejects client data connections that do not perform the TLS session resumption client processing. Before
you set the value to ENFORCED, test your clients.
Not all FTPS clients perform TLS session resumption. So, if you choose to enforce TLS session resumption, you
prevent any connections from FTPS clients that don't perform the protocol negotiation. To determine whether or
not you can use the ENFORCED value, you need to test your clients.
If the service returns an enum value that is not available in the current SDK version,
tlsSessionResumptionMode will return TlsSessionResumptionMode.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from tlsSessionResumptionModeAsString().
TlsSessionResumptionMode determines whether or not the server resumes recent,
negotiated sessions through a unique session ID. This property is available during
CreateServer and UpdateServer calls. If a TlsSessionResumptionMode
value is not specified during CreateServer, it is set to ENFORCED by default.
DISABLED: the server does not process TLS session resumption client requests and creates a
new TLS session for each request.
ENABLED: the server processes and accepts clients that are performing TLS session
resumption. The server doesn't reject client data connections that do not perform the TLS session
resumption client processing.
ENFORCED: the server processes and accepts clients that are performing TLS session
resumption. The server rejects client data connections that do not perform the TLS session resumption
client processing. Before you set the value to ENFORCED, test your clients.
Not all FTPS clients perform TLS session resumption. So, if you choose to enforce TLS session resumption,
you prevent any connections from FTPS clients that don't perform the protocol negotiation. To determine
whether or not you can use the ENFORCED value, you need to test your clients.
TlsSessionResumptionModepublic ProtocolDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ProtocolDetails.Builder,ProtocolDetails>public static ProtocolDetails.Builder builder()
public static Class<? extends ProtocolDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.