@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccessesResult() |
Modifier and Type | Method and Description |
---|---|
ListAccessesResult |
clone() |
boolean |
equals(Object obj) |
List<ListedAccess> |
getAccesses()
Returns the accesses and their properties for the
ServerId value that you specify. |
String |
getNextToken()
When you can get additional results from the
ListAccesses call, a NextToken parameter
is returned in the output. |
String |
getServerId()
A system-assigned unique identifier for a server that has users assigned to it.
|
int |
hashCode() |
void |
setAccesses(Collection<ListedAccess> accesses)
Returns the accesses and their properties for the
ServerId value that you specify. |
void |
setNextToken(String nextToken)
When you can get additional results from the
ListAccesses call, a NextToken parameter
is returned in the output. |
void |
setServerId(String serverId)
A system-assigned unique identifier for a server that has users assigned to it.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessesResult |
withAccesses(Collection<ListedAccess> accesses)
Returns the accesses and their properties for the
ServerId value that you specify. |
ListAccessesResult |
withAccesses(ListedAccess... accesses)
Returns the accesses and their properties for the
ServerId value that you specify. |
ListAccessesResult |
withNextToken(String nextToken)
When you can get additional results from the
ListAccesses call, a NextToken parameter
is returned in the output. |
ListAccessesResult |
withServerId(String serverId)
A system-assigned unique identifier for a server that has users assigned to it.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
When you can get additional results from the ListAccesses
call, a NextToken
parameter
is returned in the output. You can then pass in a subsequent command to the NextToken
parameter to
continue listing additional accesses.
nextToken
- When you can get additional results from the ListAccesses
call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command to the
NextToken
parameter to continue listing additional accesses.public String getNextToken()
When you can get additional results from the ListAccesses
call, a NextToken
parameter
is returned in the output. You can then pass in a subsequent command to the NextToken
parameter to
continue listing additional accesses.
ListAccesses
call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command to the
NextToken
parameter to continue listing additional accesses.public ListAccessesResult withNextToken(String nextToken)
When you can get additional results from the ListAccesses
call, a NextToken
parameter
is returned in the output. You can then pass in a subsequent command to the NextToken
parameter to
continue listing additional accesses.
nextToken
- When you can get additional results from the ListAccesses
call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command to the
NextToken
parameter to continue listing additional accesses.public void setServerId(String serverId)
A system-assigned unique identifier for a server that has users assigned to it.
serverId
- A system-assigned unique identifier for a server that has users assigned to it.public String getServerId()
A system-assigned unique identifier for a server that has users assigned to it.
public ListAccessesResult withServerId(String serverId)
A system-assigned unique identifier for a server that has users assigned to it.
serverId
- A system-assigned unique identifier for a server that has users assigned to it.public List<ListedAccess> getAccesses()
Returns the accesses and their properties for the ServerId
value that you specify.
ServerId
value that you specify.public void setAccesses(Collection<ListedAccess> accesses)
Returns the accesses and their properties for the ServerId
value that you specify.
accesses
- Returns the accesses and their properties for the ServerId
value that you specify.public ListAccessesResult withAccesses(ListedAccess... accesses)
Returns the accesses and their properties for the ServerId
value that you specify.
NOTE: This method appends the values to the existing list (if any). Use
setAccesses(java.util.Collection)
or withAccesses(java.util.Collection)
if you want to override
the existing values.
accesses
- Returns the accesses and their properties for the ServerId
value that you specify.public ListAccessesResult withAccesses(Collection<ListedAccess> accesses)
Returns the accesses and their properties for the ServerId
value that you specify.
accesses
- Returns the accesses and their properties for the ServerId
value that you specify.public String toString()
toString
in class Object
Object.toString()
public ListAccessesResult clone()