Class SftpPortWithOptions
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SftpPortWithOptions.Builder,SftpPortWithOptions>
Specifies the configuration for a single SFTP port on a Transfer Family server that uses the SFTP protocol and has a
PUBLIC endpoint. Each entry in the SftpPorts list is an SftpPortWithOptions
object that pairs a port number with a communication mode.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SftpPortWithOptions.Builderbuilder()final CommunicationModeDetermines whether the server or the client sends data first when a client establishes an SFTP connection on this port.final StringDetermines whether the server or the client sends data first when a client establishes an SFTP connection on this port.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends SftpPortWithOptions.Builder> final IntegersftpPort()The port on which the Transfer Family server listens for SFTP connections.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sftpPort
The port on which the Transfer Family server listens for SFTP connections. Specify any integer from 2000 to 65535, or 22. This value is required for each entry in the
SftpPortslist.- Returns:
- The port on which the Transfer Family server listens for SFTP connections. Specify any integer from 2000
to 65535, or 22. This value is required for each entry in the
SftpPortslist.
-
communicationMode
Determines whether the server or the client sends data first when a client establishes an SFTP connection on this port. Valid values are
SERVER_TALK_FIRSTandCLIENT_TALK_FIRST. For a description of each mode, see theSftpPortsproperty. This value is optional.If the service returns an enum value that is not available in the current SDK version,
communicationModewill returnCommunicationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcommunicationModeAsString().- Returns:
- Determines whether the server or the client sends data first when a client establishes an SFTP connection
on this port. Valid values are
SERVER_TALK_FIRSTandCLIENT_TALK_FIRST. For a description of each mode, see theSftpPortsproperty. This value is optional. - See Also:
-
communicationModeAsString
Determines whether the server or the client sends data first when a client establishes an SFTP connection on this port. Valid values are
SERVER_TALK_FIRSTandCLIENT_TALK_FIRST. For a description of each mode, see theSftpPortsproperty. This value is optional.If the service returns an enum value that is not available in the current SDK version,
communicationModewill returnCommunicationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcommunicationModeAsString().- Returns:
- Determines whether the server or the client sends data first when a client establishes an SFTP connection
on this port. Valid values are
SERVER_TALK_FIRSTandCLIENT_TALK_FIRST. For a description of each mode, see theSftpPortsproperty. This value is optional. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SftpPortWithOptions.Builder,SftpPortWithOptions> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-