@Generated(value="software.amazon.awssdk:codegen") public final class ListedServer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListedServer.Builder,ListedServer>
Returns properties of a file transfer protocol-enabled server that was specified.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListedServer.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
Specifies the unique Amazon Resource Name (ARN) for a server to be listed.
|
static ListedServer.Builder |
builder() |
EndpointType |
endpointType()
Specifies the type of VPC endpoint that your server is connected to.
|
String |
endpointTypeAsString()
Specifies the type of VPC endpoint that your server is connected to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IdentityProviderType |
identityProviderType()
Specifies the authentication method used to validate a user for a server that was specified.
|
String |
identityProviderTypeAsString()
Specifies the authentication method used to validate a user for a server that was specified.
|
String |
loggingRole()
Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch
logging.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListedServer.Builder> |
serializableBuilderClass() |
String |
serverId()
Specifies the unique system assigned identifier for the servers that were listed.
|
State |
state()
Specifies the condition of a server for the server that was described.
|
String |
stateAsString()
Specifies the condition of a server for the server that was described.
|
ListedServer.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
userCount()
Specifies the number of users that are assigned to a server you specified with the
ServerId. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String arn()
Specifies the unique Amazon Resource Name (ARN) for a server to be listed.
public IdentityProviderType identityProviderType()
Specifies the authentication method used to validate a user for a server that was specified. This can include
Secure Shell (SSH), user name and password combinations, or your own custom authentication method. Valid values
include SERVICE_MANAGED or API_GATEWAY.
If the service returns an enum value that is not available in the current SDK version,
identityProviderType will return IdentityProviderType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from identityProviderTypeAsString().
SERVICE_MANAGED or API_GATEWAY.IdentityProviderTypepublic String identityProviderTypeAsString()
Specifies the authentication method used to validate a user for a server that was specified. This can include
Secure Shell (SSH), user name and password combinations, or your own custom authentication method. Valid values
include SERVICE_MANAGED or API_GATEWAY.
If the service returns an enum value that is not available in the current SDK version,
identityProviderType will return IdentityProviderType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from identityProviderTypeAsString().
SERVICE_MANAGED or API_GATEWAY.IdentityProviderTypepublic EndpointType endpointType()
Specifies the type of VPC endpoint that your server is connected to. If your server is connected to a VPC endpoint, your server isn't accessible over the public internet.
If the service returns an enum value that is not available in the current SDK version, endpointType will
return EndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
endpointTypeAsString().
EndpointTypepublic String endpointTypeAsString()
Specifies the type of VPC endpoint that your server is connected to. If your server is connected to a VPC endpoint, your server isn't accessible over the public internet.
If the service returns an enum value that is not available in the current SDK version, endpointType will
return EndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
endpointTypeAsString().
EndpointTypepublic String loggingRole()
Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging.
public String serverId()
Specifies the unique system assigned identifier for the servers that were listed.
public State state()
Specifies the condition of a server for the server that was described. A value of ONLINE indicates
that the server can accept jobs and transfer files. A State value of OFFLINE means that
the server cannot perform file transfer operations.
The states of STARTING and STOPPING indicate that the server is in an intermediate
state, either not fully able to respond, or not fully offline. The values of START_FAILED or
STOP_FAILED can indicate an error condition.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ONLINE
indicates that the server can accept jobs and transfer files. A State value of
OFFLINE means that the server cannot perform file transfer operations.
The states of STARTING and STOPPING indicate that the server is in an
intermediate state, either not fully able to respond, or not fully offline. The values of
START_FAILED or STOP_FAILED can indicate an error condition.
Statepublic String stateAsString()
Specifies the condition of a server for the server that was described. A value of ONLINE indicates
that the server can accept jobs and transfer files. A State value of OFFLINE means that
the server cannot perform file transfer operations.
The states of STARTING and STOPPING indicate that the server is in an intermediate
state, either not fully able to respond, or not fully offline. The values of START_FAILED or
STOP_FAILED can indicate an error condition.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ONLINE
indicates that the server can accept jobs and transfer files. A State value of
OFFLINE means that the server cannot perform file transfer operations.
The states of STARTING and STOPPING indicate that the server is in an
intermediate state, either not fully able to respond, or not fully offline. The values of
START_FAILED or STOP_FAILED can indicate an error condition.
Statepublic Integer userCount()
Specifies the number of users that are assigned to a server you specified with the ServerId.
ServerId.public ListedServer.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListedServer.Builder,ListedServer>public static ListedServer.Builder builder()
public static Class<? extends ListedServer.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.