Class ListedServer
- java.lang.Object
-
- software.amazon.awssdk.services.transfer.model.ListedServer
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListedServer.Builder,ListedServer>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListedServer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()Specifies the unique Amazon Resource Name (ARN) for a server to be listed.static ListedServer.Builderbuilder()Domaindomain()Specifies the domain of the storage system that is used for file transfers.StringdomainAsString()Specifies the domain of the storage system that is used for file transfers.EndpointTypeendpointType()Specifies the type of VPC endpoint that your server is connected to.StringendpointTypeAsString()Specifies the type of VPC endpoint that your server is connected to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IdentityProviderTypeidentityProviderType()The mode of authentication for a server.StringidentityProviderTypeAsString()The mode of authentication for a server.StringloggingRole()The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListedServer.Builder>serializableBuilderClass()StringserverId()Specifies the unique system assigned identifier for the servers that were listed.Statestate()The condition of the server that was described.StringstateAsString()The condition of the server that was described.ListedServer.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegeruserCount()Specifies the number of users that are assigned to a server you specified with theServerId.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
Specifies the unique Amazon Resource Name (ARN) for a server to be listed.
- Returns:
- Specifies the unique Amazon Resource Name (ARN) for a server to be listed.
-
domain
public final Domain domain()
Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.
If the service returns an enum value that is not available in the current SDK version,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.
- See Also:
Domain
-
domainAsString
public final String domainAsString()
Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.
If the service returns an enum value that is not available in the current SDK version,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.
- See Also:
Domain
-
identityProviderType
public final IdentityProviderType identityProviderType()
The mode of authentication for a server. The default value is
SERVICE_MANAGED, which allows you to store and access user credentials within the Transfer Family service.Use
AWS_DIRECTORY_SERVICEto provide access to Active Directory groups in Directory Service for Microsoft Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connector. This option also requires you to provide a Directory ID by using theIdentityProviderDetailsparameter.Use the
API_GATEWAYvalue to integrate with an identity provider of your choosing. TheAPI_GATEWAYsetting requires you to provide an Amazon API Gateway endpoint URL to call for authentication by using theIdentityProviderDetailsparameter.Use the
AWS_LAMBDAvalue to directly use an Lambda function as your identity provider. If you choose this value, you must specify the ARN for the Lambda function in theFunctionparameter for theIdentityProviderDetailsdata type.If the service returns an enum value that is not available in the current SDK version,
identityProviderTypewill returnIdentityProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityProviderTypeAsString().- Returns:
- The mode of authentication for a server. The default value is
SERVICE_MANAGED, which allows you to store and access user credentials within the Transfer Family service.Use
AWS_DIRECTORY_SERVICEto provide access to Active Directory groups in Directory Service for Microsoft Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connector. This option also requires you to provide a Directory ID by using theIdentityProviderDetailsparameter.Use the
API_GATEWAYvalue to integrate with an identity provider of your choosing. TheAPI_GATEWAYsetting requires you to provide an Amazon API Gateway endpoint URL to call for authentication by using theIdentityProviderDetailsparameter.Use the
AWS_LAMBDAvalue to directly use an Lambda function as your identity provider. If you choose this value, you must specify the ARN for the Lambda function in theFunctionparameter for theIdentityProviderDetailsdata type. - See Also:
IdentityProviderType
-
identityProviderTypeAsString
public final String identityProviderTypeAsString()
The mode of authentication for a server. The default value is
SERVICE_MANAGED, which allows you to store and access user credentials within the Transfer Family service.Use
AWS_DIRECTORY_SERVICEto provide access to Active Directory groups in Directory Service for Microsoft Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connector. This option also requires you to provide a Directory ID by using theIdentityProviderDetailsparameter.Use the
API_GATEWAYvalue to integrate with an identity provider of your choosing. TheAPI_GATEWAYsetting requires you to provide an Amazon API Gateway endpoint URL to call for authentication by using theIdentityProviderDetailsparameter.Use the
AWS_LAMBDAvalue to directly use an Lambda function as your identity provider. If you choose this value, you must specify the ARN for the Lambda function in theFunctionparameter for theIdentityProviderDetailsdata type.If the service returns an enum value that is not available in the current SDK version,
identityProviderTypewill returnIdentityProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityProviderTypeAsString().- Returns:
- The mode of authentication for a server. The default value is
SERVICE_MANAGED, which allows you to store and access user credentials within the Transfer Family service.Use
AWS_DIRECTORY_SERVICEto provide access to Active Directory groups in Directory Service for Microsoft Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connector. This option also requires you to provide a Directory ID by using theIdentityProviderDetailsparameter.Use the
API_GATEWAYvalue to integrate with an identity provider of your choosing. TheAPI_GATEWAYsetting requires you to provide an Amazon API Gateway endpoint URL to call for authentication by using theIdentityProviderDetailsparameter.Use the
AWS_LAMBDAvalue to directly use an Lambda function as your identity provider. If you choose this value, you must specify the ARN for the Lambda function in theFunctionparameter for theIdentityProviderDetailsdata type. - See Also:
IdentityProviderType
-
endpointType
public final 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,
endpointTypewill returnEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- 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.
- See Also:
EndpointType
-
endpointTypeAsString
public final 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,
endpointTypewill returnEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- 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.
- See Also:
EndpointType
-
loggingRole
public final String loggingRole()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
- Returns:
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
-
serverId
public final String serverId()
Specifies the unique system assigned identifier for the servers that were listed.
- Returns:
- Specifies the unique system assigned identifier for the servers that were listed.
-
state
public final State state()
The condition of the server that was described. A value of
ONLINEindicates that the server can accept jobs and transfer files. AStatevalue ofOFFLINEmeans that the server cannot perform file transfer operations.The states of
STARTINGandSTOPPINGindicate that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values ofSTART_FAILEDorSTOP_FAILEDcan indicate an error condition.If the service returns an enum value that is not available in the current SDK version,
statewill returnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The condition of the server that was described. A value of
ONLINEindicates that the server can accept jobs and transfer files. AStatevalue ofOFFLINEmeans that the server cannot perform file transfer operations.The states of
STARTINGandSTOPPINGindicate that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values ofSTART_FAILEDorSTOP_FAILEDcan indicate an error condition. - See Also:
State
-
stateAsString
public final String stateAsString()
The condition of the server that was described. A value of
ONLINEindicates that the server can accept jobs and transfer files. AStatevalue ofOFFLINEmeans that the server cannot perform file transfer operations.The states of
STARTINGandSTOPPINGindicate that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values ofSTART_FAILEDorSTOP_FAILEDcan indicate an error condition.If the service returns an enum value that is not available in the current SDK version,
statewill returnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The condition of the server that was described. A value of
ONLINEindicates that the server can accept jobs and transfer files. AStatevalue ofOFFLINEmeans that the server cannot perform file transfer operations.The states of
STARTINGandSTOPPINGindicate that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values ofSTART_FAILEDorSTOP_FAILEDcan indicate an error condition. - See Also:
State
-
userCount
public final Integer userCount()
Specifies the number of users that are assigned to a server you specified with the
ServerId.- Returns:
- Specifies the number of users that are assigned to a server you specified with the
ServerId.
-
toBuilder
public ListedServer.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListedServer.Builder,ListedServer>
-
builder
public static ListedServer.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListedServer.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-