@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetServersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetServersResult() |
| Modifier and Type | Method and Description |
|---|---|
GetServersResult |
clone() |
boolean |
equals(Object obj) |
Date |
getLastModifiedOn()
The time when the server was last modified.
|
String |
getNextToken()
The token required to retrieve the next set of results.
|
String |
getServerCatalogStatus()
The status of the server catalog.
|
List<Server> |
getServerList()
Information about the servers.
|
int |
hashCode() |
void |
setLastModifiedOn(Date lastModifiedOn)
The time when the server was last modified.
|
void |
setNextToken(String nextToken)
The token required to retrieve the next set of results.
|
void |
setServerCatalogStatus(ServerCatalogStatus serverCatalogStatus)
The status of the server catalog.
|
void |
setServerCatalogStatus(String serverCatalogStatus)
The status of the server catalog.
|
void |
setServerList(Collection<Server> serverList)
Information about the servers.
|
String |
toString()
Returns a string representation of this object.
|
GetServersResult |
withLastModifiedOn(Date lastModifiedOn)
The time when the server was last modified.
|
GetServersResult |
withNextToken(String nextToken)
The token required to retrieve the next set of results.
|
GetServersResult |
withServerCatalogStatus(ServerCatalogStatus serverCatalogStatus)
The status of the server catalog.
|
GetServersResult |
withServerCatalogStatus(String serverCatalogStatus)
The status of the server catalog.
|
GetServersResult |
withServerList(Collection<Server> serverList)
Information about the servers.
|
GetServersResult |
withServerList(Server... serverList)
Information about the servers.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setLastModifiedOn(Date lastModifiedOn)
The time when the server was last modified.
lastModifiedOn - The time when the server was last modified.public Date getLastModifiedOn()
The time when the server was last modified.
public GetServersResult withLastModifiedOn(Date lastModifiedOn)
The time when the server was last modified.
lastModifiedOn - The time when the server was last modified.public void setServerCatalogStatus(String serverCatalogStatus)
The status of the server catalog.
serverCatalogStatus - The status of the server catalog.ServerCatalogStatuspublic String getServerCatalogStatus()
The status of the server catalog.
ServerCatalogStatuspublic GetServersResult withServerCatalogStatus(String serverCatalogStatus)
The status of the server catalog.
serverCatalogStatus - The status of the server catalog.ServerCatalogStatuspublic void setServerCatalogStatus(ServerCatalogStatus serverCatalogStatus)
The status of the server catalog.
serverCatalogStatus - The status of the server catalog.ServerCatalogStatuspublic GetServersResult withServerCatalogStatus(ServerCatalogStatus serverCatalogStatus)
The status of the server catalog.
serverCatalogStatus - The status of the server catalog.ServerCatalogStatuspublic List<Server> getServerList()
Information about the servers.
public void setServerList(Collection<Server> serverList)
Information about the servers.
serverList - Information about the servers.public GetServersResult withServerList(Server... serverList)
Information about the servers.
NOTE: This method appends the values to the existing list (if any). Use
setServerList(java.util.Collection) or withServerList(java.util.Collection) if you want to
override the existing values.
serverList - Information about the servers.public GetServersResult withServerList(Collection<Server> serverList)
Information about the servers.
serverList - Information about the servers.public void setNextToken(String nextToken)
The token required to retrieve the next set of results. This value is null when there are no more results to return.
nextToken - The token required to retrieve the next set of results. This value is null when there are no more results
to return.public String getNextToken()
The token required to retrieve the next set of results. This value is null when there are no more results to return.
public GetServersResult withNextToken(String nextToken)
The token required to retrieve the next set of results. This value is null when there are no more results to return.
nextToken - The token required to retrieve the next set of results. This value is null when there are no more results
to return.public String toString()
toString in class ObjectObject.toString()public GetServersResult clone()