@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribedServer extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of the server that was specified. Information returned includes the following: the server Amazon Resource Name (ARN), the authentication configuration and type, the logging role, the server ID and state, and assigned tags or metadata.
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) for the server to be described.
|
EndpointDetails |
getEndpointDetails()
The virtual private cloud (VPC) endpoint settings that you configured for your SFTP server.
|
String |
getEndpointType()
The type of endpoint that your SFTP server is connected to.
|
String |
getHostKeyFingerprint()
This value contains the message-digest algorithm (MD5) hash of the server's host key.
|
IdentityProviderDetails |
getIdentityProviderDetails()
Specifies information to call a customer-supplied authentication API.
|
String |
getIdentityProviderType()
This property defines the mode of authentication method enabled for this service.
|
String |
getLoggingRole()
This property is an AWS Identity and Access Management (IAM) entity that allows the server to turn on Amazon
CloudWatch logging for Amazon S3 events.
|
String |
getServerId()
This property is a unique system-assigned identifier for the SFTP server that you instantiate.
|
String |
getState()
The condition of the SFTP server for the server that was described.
|
List<Tag> |
getTags()
This property contains 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()
The number of users that are assigned to the SFTP 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) for the server to be described.
|
void |
setEndpointDetails(EndpointDetails endpointDetails)
The virtual private cloud (VPC) endpoint settings that you configured for your SFTP server.
|
void |
setEndpointType(String endpointType)
The type of endpoint that your SFTP server is connected to.
|
void |
setHostKeyFingerprint(String hostKeyFingerprint)
This value contains the message-digest algorithm (MD5) hash of the server's host key.
|
void |
setIdentityProviderDetails(IdentityProviderDetails identityProviderDetails)
Specifies information to call a customer-supplied authentication API.
|
void |
setIdentityProviderType(String identityProviderType)
This property defines the mode of authentication method enabled for this service.
|
void |
setLoggingRole(String loggingRole)
This property is an AWS Identity and Access Management (IAM) entity that allows the server to turn on Amazon
CloudWatch logging for Amazon S3 events.
|
void |
setServerId(String serverId)
This property is a unique system-assigned identifier for the SFTP server that you instantiate.
|
void |
setState(String state)
The condition of the SFTP server for the server that was described.
|
void |
setTags(Collection<Tag> tags)
This property contains 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)
The number of users that are assigned to the SFTP 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) for the server to be described.
|
DescribedServer |
withEndpointDetails(EndpointDetails endpointDetails)
The virtual private cloud (VPC) endpoint settings that you configured for your SFTP server.
|
DescribedServer |
withEndpointType(EndpointType endpointType)
The type of endpoint that your SFTP server is connected to.
|
DescribedServer |
withEndpointType(String endpointType)
The type of endpoint that your SFTP server is connected to.
|
DescribedServer |
withHostKeyFingerprint(String hostKeyFingerprint)
This value contains the message-digest algorithm (MD5) hash of the server's host key.
|
DescribedServer |
withIdentityProviderDetails(IdentityProviderDetails identityProviderDetails)
Specifies information to call a customer-supplied authentication API.
|
DescribedServer |
withIdentityProviderType(IdentityProviderType identityProviderType)
This property defines the mode of authentication method enabled for this service.
|
DescribedServer |
withIdentityProviderType(String identityProviderType)
This property defines the mode of authentication method enabled for this service.
|
DescribedServer |
withLoggingRole(String loggingRole)
This property is an AWS Identity and Access Management (IAM) entity that allows the server to turn on Amazon
CloudWatch logging for Amazon S3 events.
|
DescribedServer |
withServerId(String serverId)
This property is a unique system-assigned identifier for the SFTP server that you instantiate.
|
DescribedServer |
withState(State state)
The condition of the SFTP server for the server that was described.
|
DescribedServer |
withState(String state)
The condition of the SFTP server for the server that was described.
|
DescribedServer |
withTags(Collection<Tag> tags)
This property contains 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)
This property contains 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)
The number of users that are assigned to the SFTP server you specified with the
ServerId . |
public void setArn(String arn)
Specifies the unique Amazon Resource Name (ARN) for the server to be described.
arn
- Specifies the unique Amazon Resource Name (ARN) for the server to be described.public String getArn()
Specifies the unique Amazon Resource Name (ARN) for the server to be described.
public DescribedServer withArn(String arn)
Specifies the unique Amazon Resource Name (ARN) for the server to be described.
arn
- Specifies the unique Amazon Resource Name (ARN) for the server to be described.public void setEndpointDetails(EndpointDetails endpointDetails)
The virtual private cloud (VPC) endpoint settings that you configured for your SFTP server.
endpointDetails
- The virtual private cloud (VPC) endpoint settings that you configured for your SFTP server.public EndpointDetails getEndpointDetails()
The virtual private cloud (VPC) endpoint settings that you configured for your SFTP server.
public DescribedServer withEndpointDetails(EndpointDetails endpointDetails)
The virtual private cloud (VPC) endpoint settings that you configured for your SFTP server.
endpointDetails
- The virtual private cloud (VPC) endpoint settings that you configured for your SFTP server.public void setEndpointType(String endpointType)
The type of endpoint that your SFTP server is connected to. If your SFTP server is connected to a VPC endpoint, your server isn't accessible over the public internet.
endpointType
- The type of endpoint that your SFTP server is connected to. If your SFTP server is connected to a VPC
endpoint, your server isn't accessible over the public internet.EndpointType
public String getEndpointType()
The type of endpoint that your SFTP server is connected to. If your SFTP server is connected to a VPC endpoint, your server isn't accessible over the public internet.
EndpointType
public DescribedServer withEndpointType(String endpointType)
The type of endpoint that your SFTP server is connected to. If your SFTP server is connected to a VPC endpoint, your server isn't accessible over the public internet.
endpointType
- The type of endpoint that your SFTP server is connected to. If your SFTP server is connected to a VPC
endpoint, your server isn't accessible over the public internet.EndpointType
public DescribedServer withEndpointType(EndpointType endpointType)
The type of endpoint that your SFTP server is connected to. If your SFTP server is connected to a VPC endpoint, your server isn't accessible over the public internet.
endpointType
- The type of endpoint that your SFTP server is connected to. If your SFTP server is connected to a VPC
endpoint, your server isn't accessible over the public internet.EndpointType
public void setHostKeyFingerprint(String hostKeyFingerprint)
This value contains the message-digest algorithm (MD5) hash of the server's host key. This value is equivalent to
the output of the ssh-keygen -l -E md5 -f my-new-server-key
command.
hostKeyFingerprint
- This value contains the message-digest algorithm (MD5) hash of the server's host key. This value is
equivalent to the output of the ssh-keygen -l -E md5 -f my-new-server-key
command.public String getHostKeyFingerprint()
This value contains the message-digest algorithm (MD5) hash of the server's host key. This value is equivalent to
the output of the ssh-keygen -l -E md5 -f my-new-server-key
command.
ssh-keygen -l -E md5 -f my-new-server-key
command.public DescribedServer withHostKeyFingerprint(String hostKeyFingerprint)
This value contains the message-digest algorithm (MD5) hash of the server's host key. This value is equivalent to
the output of the ssh-keygen -l -E md5 -f my-new-server-key
command.
hostKeyFingerprint
- This value contains the message-digest algorithm (MD5) hash of the server's host key. This value is
equivalent to the output of the ssh-keygen -l -E md5 -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 the server is SERVICE_MANAGED
>.
identityProviderDetails
- Specifies information to call a customer-supplied authentication API. This field is not populated when the
IdentityProviderType
of the 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 the server is SERVICE_MANAGED
>.
IdentityProviderType
of the 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 the server is SERVICE_MANAGED
>.
identityProviderDetails
- Specifies information to call a customer-supplied authentication API. This field is not populated when the
IdentityProviderType
of the server is SERVICE_MANAGED
>.public void setIdentityProviderType(String identityProviderType)
This property defines 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 SFTP 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
- This property defines 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 SFTP 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()
This property defines 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 SFTP 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 SFTP 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)
This property defines 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 SFTP 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
- This property defines 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 SFTP 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)
This property defines 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 SFTP 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
- This property defines 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 SFTP 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)
This property is an AWS Identity and Access Management (IAM) entity that allows the server to turn on Amazon CloudWatch logging for Amazon S3 events. When set, user activity can be viewed in your CloudWatch logs.
loggingRole
- This property is an AWS Identity and Access Management (IAM) entity that allows the 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()
This property is an AWS Identity and Access Management (IAM) entity that allows the 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)
This property is an AWS Identity and Access Management (IAM) entity that allows the server to turn on Amazon CloudWatch logging for Amazon S3 events. When set, user activity can be viewed in your CloudWatch logs.
loggingRole
- This property is an AWS Identity and Access Management (IAM) entity that allows the server to turn on
Amazon CloudWatch logging for Amazon S3 events. When set, user activity can be viewed in your CloudWatch
logs.public void setServerId(String serverId)
This property is a unique system-assigned identifier for the SFTP server that you instantiate.
serverId
- This property is a unique system-assigned identifier for the SFTP server that you instantiate.public String getServerId()
This property is a unique system-assigned identifier for the SFTP server that you instantiate.
public DescribedServer withServerId(String serverId)
This property is a unique system-assigned identifier for the SFTP server that you instantiate.
serverId
- This property is a unique system-assigned identifier for the SFTP server that you instantiate.public void setState(String state)
The condition of the SFTP 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
- The condition of the SFTP 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()
The condition of the SFTP 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)
The condition of the SFTP 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
- The condition of the SFTP 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)
The condition of the SFTP 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
- The condition of the SFTP 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()
This property contains 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)
This property contains the key-value pairs that you can use to search for and group servers that were assigned to the server that was described.
tags
- This property contains 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)
This property contains 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
- This property contains 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)
This property contains the key-value pairs that you can use to search for and group servers that were assigned to the server that was described.
tags
- This property contains 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)
The number of users that are assigned to the SFTP server you specified with the ServerId
.
userCount
- The number of users that are assigned to the SFTP server you specified with the ServerId
.public Integer getUserCount()
The number of users that are assigned to the SFTP server you specified with the ServerId
.
ServerId
.public DescribedServer withUserCount(Integer userCount)
The number of users that are assigned to the SFTP server you specified with the ServerId
.
userCount
- The number of users that are assigned to the SFTP 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.