@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceServersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourceServersResult() |
Modifier and Type | Method and Description |
---|---|
ListResourceServersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A pagination token.
|
List<ResourceServerType> |
getResourceServers()
The resource servers.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token.
|
void |
setResourceServers(Collection<ResourceServerType> resourceServers)
The resource servers.
|
String |
toString()
Returns a string representation of this object.
|
ListResourceServersResult |
withNextToken(String nextToken)
A pagination token.
|
ListResourceServersResult |
withResourceServers(Collection<ResourceServerType> resourceServers)
The resource servers.
|
ListResourceServersResult |
withResourceServers(ResourceServerType... resourceServers)
The resource servers.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceServerType> getResourceServers()
The resource servers.
public void setResourceServers(Collection<ResourceServerType> resourceServers)
The resource servers.
resourceServers
- The resource servers.public ListResourceServersResult withResourceServers(ResourceServerType... resourceServers)
The resource servers.
NOTE: This method appends the values to the existing list (if any). Use
setResourceServers(java.util.Collection)
or withResourceServers(java.util.Collection)
if you
want to override the existing values.
resourceServers
- The resource servers.public ListResourceServersResult withResourceServers(Collection<ResourceServerType> resourceServers)
The resource servers.
resourceServers
- The resource servers.public void setNextToken(String nextToken)
A pagination token.
nextToken
- A pagination token.public String getNextToken()
A pagination token.
public ListResourceServersResult withNextToken(String nextToken)
A pagination token.
nextToken
- A pagination token.public String toString()
toString
in class Object
Object.toString()
public ListResourceServersResult clone()