@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribedServer extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of a file transfer protocol-enabled server that was specified.
Constructor and Description |
---|
DescribedServer() |
Modifier and Type | Method and Description |
---|---|
DescribedServer |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Specifies the unique Amazon Resource Name (ARN) of the server.
|
String |
getCertificate()
Specifies the ARN of the AWS Certificate Manager (ACM) certificate.
|
EndpointDetails |
getEndpointDetails()
Specifies the virtual private cloud (VPC) endpoint settings that you configured for your server.
|
String |
getEndpointType()
Defines the type of endpoint that your server is connected to.
|
String |
getHostKeyFingerprint()
Specifies the Base64-encoded SHA256 fingerprint of the server's host key.
|
IdentityProviderDetails |
getIdentityProviderDetails()
Specifies information to call a customer-supplied authentication API.
|
String |
getIdentityProviderType()
Specifies the mode of authentication method enabled for this service.
|
String |
getLoggingRole()
Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch
logging for Amazon S3 events.
|
List<String> |
getProtocols()
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to
your server's endpoint.
|
String |
getSecurityPolicyName()
Specifies the name of the security policy that is attached to the server.
|
String |
getServerId()
Specifies the unique system-assigned identifier for a server that you instantiate.
|
String |
getState()
Specifies the condition of a server for the server that was described.
|
List<Tag> |
getTags()
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server
that was described.
|
Integer |
getUserCount()
Specifies the number of users that are assigned to a server you specified with the
ServerId . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Specifies the unique Amazon Resource Name (ARN) of the server.
|
void |
setCertificate(String certificate)
Specifies the ARN of the AWS Certificate Manager (ACM) certificate.
|
void |
setEndpointDetails(EndpointDetails endpointDetails)
Specifies the virtual private cloud (VPC) endpoint settings that you configured for your server.
|
void |
setEndpointType(String endpointType)
Defines the type of endpoint that your server is connected to.
|
void |
setHostKeyFingerprint(String hostKeyFingerprint)
Specifies the Base64-encoded SHA256 fingerprint of the server's host key.
|
void |
setIdentityProviderDetails(IdentityProviderDetails identityProviderDetails)
Specifies information to call a customer-supplied authentication API.
|
void |
setIdentityProviderType(String identityProviderType)
Specifies the mode of authentication method enabled for this service.
|
void |
setLoggingRole(String loggingRole)
Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch
logging for Amazon S3 events.
|
void |
setProtocols(Collection<String> protocols)
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to
your server's endpoint.
|
void |
setSecurityPolicyName(String securityPolicyName)
Specifies the name of the security policy that is attached to the server.
|
void |
setServerId(String serverId)
Specifies the unique system-assigned identifier for a server that you instantiate.
|
void |
setState(String state)
Specifies the condition of a server for the server that was described.
|
void |
setTags(Collection<Tag> tags)
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server
that was described.
|
void |
setUserCount(Integer userCount)
Specifies the number of users that are assigned to a server you specified with the
ServerId . |
String |
toString()
Returns a string representation of this object.
|
DescribedServer |
withArn(String arn)
Specifies the unique Amazon Resource Name (ARN) of the server.
|
DescribedServer |
withCertificate(String certificate)
Specifies the ARN of the AWS Certificate Manager (ACM) certificate.
|
DescribedServer |
withEndpointDetails(EndpointDetails endpointDetails)
Specifies the virtual private cloud (VPC) endpoint settings that you configured for your server.
|
DescribedServer |
withEndpointType(EndpointType endpointType)
Defines the type of endpoint that your server is connected to.
|
DescribedServer |
withEndpointType(String endpointType)
Defines the type of endpoint that your server is connected to.
|
DescribedServer |
withHostKeyFingerprint(String hostKeyFingerprint)
Specifies the Base64-encoded SHA256 fingerprint of the server's host key.
|
DescribedServer |
withIdentityProviderDetails(IdentityProviderDetails identityProviderDetails)
Specifies information to call a customer-supplied authentication API.
|
DescribedServer |
withIdentityProviderType(IdentityProviderType identityProviderType)
Specifies the mode of authentication method enabled for this service.
|
DescribedServer |
withIdentityProviderType(String identityProviderType)
Specifies the mode of authentication method enabled for this service.
|
DescribedServer |
withLoggingRole(String loggingRole)
Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch
logging for Amazon S3 events.
|
DescribedServer |
withProtocols(Collection<String> protocols)
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to
your server's endpoint.
|
DescribedServer |
withProtocols(Protocol... protocols)
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to
your server's endpoint.
|
DescribedServer |
withProtocols(String... protocols)
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to
your server's endpoint.
|
DescribedServer |
withSecurityPolicyName(String securityPolicyName)
Specifies the name of the security policy that is attached to the server.
|
DescribedServer |
withServerId(String serverId)
Specifies the unique system-assigned identifier for a server that you instantiate.
|
DescribedServer |
withState(State state)
Specifies the condition of a server for the server that was described.
|
DescribedServer |
withState(String state)
Specifies the condition of a server for the server that was described.
|
DescribedServer |
withTags(Collection<Tag> tags)
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server
that was described.
|
DescribedServer |
withTags(Tag... tags)
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server
that was described.
|
DescribedServer |
withUserCount(Integer userCount)
Specifies the number of users that are assigned to a server you specified with the
ServerId . |
public void setArn(String arn)
Specifies the unique Amazon Resource Name (ARN) of the server.
arn
- Specifies the unique Amazon Resource Name (ARN) of the server.public String getArn()
Specifies the unique Amazon Resource Name (ARN) of the server.
public DescribedServer withArn(String arn)
Specifies the unique Amazon Resource Name (ARN) of the server.
arn
- Specifies the unique Amazon Resource Name (ARN) of the server.public void setCertificate(String certificate)
Specifies the ARN of the AWS Certificate Manager (ACM) certificate. Required when Protocols
is set
to FTPS
.
certificate
- Specifies the ARN of the AWS Certificate Manager (ACM) certificate. Required when Protocols
is set to FTPS
.public String getCertificate()
Specifies the ARN of the AWS Certificate Manager (ACM) certificate. Required when Protocols
is set
to FTPS
.
Protocols
is set to FTPS
.public DescribedServer withCertificate(String certificate)
Specifies the ARN of the AWS Certificate Manager (ACM) certificate. Required when Protocols
is set
to FTPS
.
certificate
- Specifies the ARN of the AWS Certificate Manager (ACM) certificate. Required when Protocols
is set to FTPS
.public void setEndpointDetails(EndpointDetails endpointDetails)
Specifies the virtual private cloud (VPC) endpoint settings that you configured for your server.
endpointDetails
- Specifies the virtual private cloud (VPC) endpoint settings that you configured for your server.public EndpointDetails getEndpointDetails()
Specifies the virtual private cloud (VPC) endpoint settings that you configured for your server.
public DescribedServer withEndpointDetails(EndpointDetails endpointDetails)
Specifies the virtual private cloud (VPC) endpoint settings that you configured for your server.
endpointDetails
- Specifies the virtual private cloud (VPC) endpoint settings that you configured for your server.public void setEndpointType(String endpointType)
Defines the type of 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.
endpointType
- Defines the type of 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.EndpointType
public String getEndpointType()
Defines the type of 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.
EndpointType
public DescribedServer withEndpointType(String endpointType)
Defines the type of 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.
endpointType
- Defines the type of 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.EndpointType
public DescribedServer withEndpointType(EndpointType endpointType)
Defines the type of 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.
endpointType
- Defines the type of 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.EndpointType
public void setHostKeyFingerprint(String hostKeyFingerprint)
Specifies the Base64-encoded SHA256 fingerprint of the server's host key. This value is equivalent to the output
of the ssh-keygen -l -f my-new-server-key
command.
hostKeyFingerprint
- Specifies the Base64-encoded SHA256 fingerprint of the server's host key. This value is equivalent to the
output of the ssh-keygen -l -f my-new-server-key
command.public String getHostKeyFingerprint()
Specifies the Base64-encoded SHA256 fingerprint of the server's host key. This value is equivalent to the output
of the ssh-keygen -l -f my-new-server-key
command.
ssh-keygen -l -f my-new-server-key
command.public DescribedServer withHostKeyFingerprint(String hostKeyFingerprint)
Specifies the Base64-encoded SHA256 fingerprint of the server's host key. This value is equivalent to the output
of the ssh-keygen -l -f my-new-server-key
command.
hostKeyFingerprint
- Specifies the Base64-encoded SHA256 fingerprint of the server's host key. This value is equivalent to the
output of the ssh-keygen -l -f my-new-server-key
command.public void setIdentityProviderDetails(IdentityProviderDetails identityProviderDetails)
Specifies information to call a customer-supplied authentication API. This field is not populated when the
IdentityProviderType
of a server is SERVICE_MANAGED
.
identityProviderDetails
- Specifies information to call a customer-supplied authentication API. This field is not populated when the
IdentityProviderType
of a server is SERVICE_MANAGED
.public IdentityProviderDetails getIdentityProviderDetails()
Specifies information to call a customer-supplied authentication API. This field is not populated when the
IdentityProviderType
of a server is SERVICE_MANAGED
.
IdentityProviderType
of a server is SERVICE_MANAGED
.public DescribedServer withIdentityProviderDetails(IdentityProviderDetails identityProviderDetails)
Specifies information to call a customer-supplied authentication API. This field is not populated when the
IdentityProviderType
of a server is SERVICE_MANAGED
.
identityProviderDetails
- Specifies information to call a customer-supplied authentication API. This field is not populated when the
IdentityProviderType
of a server is SERVICE_MANAGED
.public void setIdentityProviderType(String identityProviderType)
Specifies the mode of authentication method enabled for this service. A value of SERVICE_MANAGED
means that you are using this server to store and access user credentials within the service. A value of
API_GATEWAY
indicates that you have integrated an API Gateway endpoint that will be invoked for
authenticating your user into the service.
identityProviderType
- Specifies the mode of authentication method enabled for this service. A value of
SERVICE_MANAGED
means that you are using this server to store and access user credentials
within the service. A value of API_GATEWAY
indicates that you have integrated an API Gateway
endpoint that will be invoked for authenticating your user into the service.IdentityProviderType
public String getIdentityProviderType()
Specifies the mode of authentication method enabled for this service. A value of SERVICE_MANAGED
means that you are using this server to store and access user credentials within the service. A value of
API_GATEWAY
indicates that you have integrated an API Gateway endpoint that will be invoked for
authenticating your user into the service.
SERVICE_MANAGED
means that you are using this server to store and access user credentials
within the service. A value of API_GATEWAY
indicates that you have integrated an API Gateway
endpoint that will be invoked for authenticating your user into the service.IdentityProviderType
public DescribedServer withIdentityProviderType(String identityProviderType)
Specifies the mode of authentication method enabled for this service. A value of SERVICE_MANAGED
means that you are using this server to store and access user credentials within the service. A value of
API_GATEWAY
indicates that you have integrated an API Gateway endpoint that will be invoked for
authenticating your user into the service.
identityProviderType
- Specifies the mode of authentication method enabled for this service. A value of
SERVICE_MANAGED
means that you are using this server to store and access user credentials
within the service. A value of API_GATEWAY
indicates that you have integrated an API Gateway
endpoint that will be invoked for authenticating your user into the service.IdentityProviderType
public DescribedServer withIdentityProviderType(IdentityProviderType identityProviderType)
Specifies the mode of authentication method enabled for this service. A value of SERVICE_MANAGED
means that you are using this server to store and access user credentials within the service. A value of
API_GATEWAY
indicates that you have integrated an API Gateway endpoint that will be invoked for
authenticating your user into the service.
identityProviderType
- Specifies the mode of authentication method enabled for this service. A value of
SERVICE_MANAGED
means that you are using this server to store and access user credentials
within the service. A value of API_GATEWAY
indicates that you have integrated an API Gateway
endpoint that will be invoked for authenticating your user into the service.IdentityProviderType
public void setLoggingRole(String loggingRole)
Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 events. When set, user activity can be viewed in your CloudWatch logs.
loggingRole
- Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon
CloudWatch logging for Amazon S3 events. When set, user activity can be viewed in your CloudWatch logs.public String getLoggingRole()
Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 events. When set, user activity can be viewed in your CloudWatch logs.
public DescribedServer withLoggingRole(String loggingRole)
Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 events. When set, user activity can be viewed in your CloudWatch logs.
loggingRole
- Specifies the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon
CloudWatch logging for Amazon S3 events. When set, user activity can be viewed in your CloudWatch logs.public List<String> getProtocols()
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
Protocol
public void setProtocols(Collection<String> protocols)
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
protocols
- Specifies the file transfer protocol or protocols over which your file transfer protocol client can
connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
Protocol
public DescribedServer withProtocols(String... protocols)
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
NOTE: This method appends the values to the existing list (if any). Use
setProtocols(java.util.Collection)
or withProtocols(java.util.Collection)
if you want to
override the existing values.
protocols
- Specifies the file transfer protocol or protocols over which your file transfer protocol client can
connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
Protocol
public DescribedServer withProtocols(Collection<String> protocols)
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
protocols
- Specifies the file transfer protocol or protocols over which your file transfer protocol client can
connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
Protocol
public DescribedServer withProtocols(Protocol... protocols)
Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
protocols
- Specifies the file transfer protocol or protocols over which your file transfer protocol client can
connect to your server's endpoint. The available protocols are:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSH
FTPS
(File Transfer Protocol Secure): File transfer with TLS encryption
FTP
(File Transfer Protocol): Unencrypted file transfer
Protocol
public void setSecurityPolicyName(String securityPolicyName)
Specifies the name of the security policy that is attached to the server.
securityPolicyName
- Specifies the name of the security policy that is attached to the server.public String getSecurityPolicyName()
Specifies the name of the security policy that is attached to the server.
public DescribedServer withSecurityPolicyName(String securityPolicyName)
Specifies the name of the security policy that is attached to the server.
securityPolicyName
- Specifies the name of the security policy that is attached to the server.public void setServerId(String serverId)
Specifies the unique system-assigned identifier for a server that you instantiate.
serverId
- Specifies the unique system-assigned identifier for a server that you instantiate.public String getServerId()
Specifies the unique system-assigned identifier for a server that you instantiate.
public DescribedServer withServerId(String serverId)
Specifies the unique system-assigned identifier for a server that you instantiate.
serverId
- Specifies the unique system-assigned identifier for a server that you instantiate.public void setState(String 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.
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.
State
public String getState()
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.
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.
State
public DescribedServer withState(String 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.
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.
State
public DescribedServer withState(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.
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.
State
public List<Tag> getTags()
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server that was described.
public void setTags(Collection<Tag> tags)
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server that was described.
tags
- Specifies the key-value pairs that you can use to search for and group servers that were assigned to the
server that was described.public DescribedServer withTags(Tag... tags)
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server that was described.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Specifies the key-value pairs that you can use to search for and group servers that were assigned to the
server that was described.public DescribedServer withTags(Collection<Tag> tags)
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server that was described.
tags
- Specifies the key-value pairs that you can use to search for and group servers that were assigned to the
server that was described.public void setUserCount(Integer userCount)
Specifies the number of users that are assigned to a server you specified with the ServerId
.
userCount
- Specifies the number of users that are assigned to a server you specified with the ServerId
.public Integer getUserCount()
Specifies the number of users that are assigned to a server you specified with the ServerId
.
ServerId
.public DescribedServer withUserCount(Integer userCount)
Specifies the number of users that are assigned to a server you specified with the ServerId
.
userCount
- Specifies the number of users that are assigned to a server you specified with the ServerId
.public String toString()
toString
in class Object
Object.toString()
public DescribedServer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.