@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProtocolDetails extends Object implements Serializable, Cloneable, StructuredPojo
The protocol settings that are configured for your server.
Constructor and Description |
---|
ProtocolDetails() |
Modifier and Type | Method and Description |
---|---|
ProtocolDetails |
clone() |
boolean |
equals(Object obj) |
String |
getPassiveIp()
Indicates passive mode, for FTP and FTPS protocols.
|
String |
getSetStatOption()
Use the
SetStatOption to ignore the error that is generated when the client attempts to use SETSTAT
on a file you are uploading to an S3 bucket. |
String |
getTlsSessionResumptionMode()
A property used with Transfer servers that use the FTPS protocol.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPassiveIp(String passiveIp)
Indicates passive mode, for FTP and FTPS protocols.
|
void |
setSetStatOption(String setStatOption)
Use the
SetStatOption to ignore the error that is generated when the client attempts to use SETSTAT
on a file you are uploading to an S3 bucket. |
void |
setTlsSessionResumptionMode(String tlsSessionResumptionMode)
A property used with Transfer servers that use the FTPS protocol.
|
String |
toString()
Returns a string representation of this object.
|
ProtocolDetails |
withPassiveIp(String passiveIp)
Indicates passive mode, for FTP and FTPS protocols.
|
ProtocolDetails |
withSetStatOption(SetStatOption setStatOption)
Use the
SetStatOption to ignore the error that is generated when the client attempts to use SETSTAT
on a file you are uploading to an S3 bucket. |
ProtocolDetails |
withSetStatOption(String setStatOption)
Use the
SetStatOption to ignore the error that is generated when the client attempts to use SETSTAT
on a file you are uploading to an S3 bucket. |
ProtocolDetails |
withTlsSessionResumptionMode(String tlsSessionResumptionMode)
A property used with Transfer servers that use the FTPS protocol.
|
ProtocolDetails |
withTlsSessionResumptionMode(TlsSessionResumptionMode tlsSessionResumptionMode)
A property used with Transfer servers that use the FTPS protocol.
|
public void setPassiveIp(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.
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.
public String getPassiveIp()
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 ProtocolDetails withPassiveIp(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.
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.
public void setTlsSessionResumptionMode(String 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.
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.
TlsSessionResumptionMode
public String getTlsSessionResumptionMode()
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.
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.
TlsSessionResumptionMode
public ProtocolDetails withTlsSessionResumptionMode(String 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.
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.
TlsSessionResumptionMode
public ProtocolDetails withTlsSessionResumptionMode(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.
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.
TlsSessionResumptionMode
public void setSetStatOption(String setStatOption)
Use the SetStatOption
to ignore the error that is generated when the client attempts to use SETSTAT
on a file you are uploading to an S3 bucket.
Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded.
Set the value to ENABLE_NO_OP
to have the Transfer Family server ignore the SETSTAT command, and
upload files without needing to make any changes to your SFTP client. While the SetStatOption
ENABLE_NO_OP
setting ignores the error, it does generate a log entry in CloudWatch Logs, so you can
determine when the client is making a SETSTAT call.
If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.
setStatOption
- Use the SetStatOption
to ignore the error that is generated when the client attempts to use
SETSTAT on a file you are uploading to an S3 bucket.
Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded.
Set the value to ENABLE_NO_OP
to have the Transfer Family server ignore the SETSTAT command,
and upload files without needing to make any changes to your SFTP client. While the
SetStatOption
ENABLE_NO_OP
setting ignores the error, it does generate a log
entry in CloudWatch Logs, so you can determine when the client is making a SETSTAT call.
If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.
SetStatOption
public String getSetStatOption()
Use the SetStatOption
to ignore the error that is generated when the client attempts to use SETSTAT
on a file you are uploading to an S3 bucket.
Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded.
Set the value to ENABLE_NO_OP
to have the Transfer Family server ignore the SETSTAT command, and
upload files without needing to make any changes to your SFTP client. While the SetStatOption
ENABLE_NO_OP
setting ignores the error, it does generate a log entry in CloudWatch Logs, so you can
determine when the client is making a SETSTAT call.
If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.
SetStatOption
to ignore the error that is generated when the client attempts to use
SETSTAT on a file you are uploading to an S3 bucket.
Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded.
Set the value to ENABLE_NO_OP
to have the Transfer Family server ignore the SETSTAT command,
and upload files without needing to make any changes to your SFTP client. While the
SetStatOption
ENABLE_NO_OP
setting ignores the error, it does generate a log
entry in CloudWatch Logs, so you can determine when the client is making a SETSTAT call.
If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.
SetStatOption
public ProtocolDetails withSetStatOption(String setStatOption)
Use the SetStatOption
to ignore the error that is generated when the client attempts to use SETSTAT
on a file you are uploading to an S3 bucket.
Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded.
Set the value to ENABLE_NO_OP
to have the Transfer Family server ignore the SETSTAT command, and
upload files without needing to make any changes to your SFTP client. While the SetStatOption
ENABLE_NO_OP
setting ignores the error, it does generate a log entry in CloudWatch Logs, so you can
determine when the client is making a SETSTAT call.
If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.
setStatOption
- Use the SetStatOption
to ignore the error that is generated when the client attempts to use
SETSTAT on a file you are uploading to an S3 bucket.
Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded.
Set the value to ENABLE_NO_OP
to have the Transfer Family server ignore the SETSTAT command,
and upload files without needing to make any changes to your SFTP client. While the
SetStatOption
ENABLE_NO_OP
setting ignores the error, it does generate a log
entry in CloudWatch Logs, so you can determine when the client is making a SETSTAT call.
If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.
SetStatOption
public ProtocolDetails withSetStatOption(SetStatOption setStatOption)
Use the SetStatOption
to ignore the error that is generated when the client attempts to use SETSTAT
on a file you are uploading to an S3 bucket.
Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded.
Set the value to ENABLE_NO_OP
to have the Transfer Family server ignore the SETSTAT command, and
upload files without needing to make any changes to your SFTP client. While the SetStatOption
ENABLE_NO_OP
setting ignores the error, it does generate a log entry in CloudWatch Logs, so you can
determine when the client is making a SETSTAT call.
If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.
setStatOption
- Use the SetStatOption
to ignore the error that is generated when the client attempts to use
SETSTAT on a file you are uploading to an S3 bucket.
Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded.
Set the value to ENABLE_NO_OP
to have the Transfer Family server ignore the SETSTAT command,
and upload files without needing to make any changes to your SFTP client. While the
SetStatOption
ENABLE_NO_OP
setting ignores the error, it does generate a log
entry in CloudWatch Logs, so you can determine when the client is making a SETSTAT call.
If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.
SetStatOption
public String toString()
toString
in class Object
Object.toString()
public ProtocolDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.