@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkspaceServiceAccountTokensResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkspaceServiceAccountTokensResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkspaceServiceAccountTokensResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of service accounts.
|
String |
getServiceAccountId()
The ID of the service account where the tokens reside.
|
List<ServiceAccountTokenSummary> |
getServiceAccountTokens()
An array of structures containing information about the tokens.
|
String |
getWorkspaceId()
The ID of the workspace where the tokens reside.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of service accounts.
|
void |
setServiceAccountId(String serviceAccountId)
The ID of the service account where the tokens reside.
|
void |
setServiceAccountTokens(Collection<ServiceAccountTokenSummary> serviceAccountTokens)
An array of structures containing information about the tokens.
|
void |
setWorkspaceId(String workspaceId)
The ID of the workspace where the tokens reside.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkspaceServiceAccountTokensResult |
withNextToken(String nextToken)
The token to use when requesting the next set of service accounts.
|
ListWorkspaceServiceAccountTokensResult |
withServiceAccountId(String serviceAccountId)
The ID of the service account where the tokens reside.
|
ListWorkspaceServiceAccountTokensResult |
withServiceAccountTokens(Collection<ServiceAccountTokenSummary> serviceAccountTokens)
An array of structures containing information about the tokens.
|
ListWorkspaceServiceAccountTokensResult |
withServiceAccountTokens(ServiceAccountTokenSummary... serviceAccountTokens)
An array of structures containing information about the tokens.
|
ListWorkspaceServiceAccountTokensResult |
withWorkspaceId(String workspaceId)
The ID of the workspace where the tokens reside.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListWorkspaceServiceAccountTokensResult()
public void setNextToken(String nextToken)
The token to use when requesting the next set of service accounts.
nextToken
- The token to use when requesting the next set of service accounts.public String getNextToken()
The token to use when requesting the next set of service accounts.
public ListWorkspaceServiceAccountTokensResult withNextToken(String nextToken)
The token to use when requesting the next set of service accounts.
nextToken
- The token to use when requesting the next set of service accounts.public void setServiceAccountId(String serviceAccountId)
The ID of the service account where the tokens reside.
serviceAccountId
- The ID of the service account where the tokens reside.public String getServiceAccountId()
The ID of the service account where the tokens reside.
public ListWorkspaceServiceAccountTokensResult withServiceAccountId(String serviceAccountId)
The ID of the service account where the tokens reside.
serviceAccountId
- The ID of the service account where the tokens reside.public List<ServiceAccountTokenSummary> getServiceAccountTokens()
An array of structures containing information about the tokens.
public void setServiceAccountTokens(Collection<ServiceAccountTokenSummary> serviceAccountTokens)
An array of structures containing information about the tokens.
serviceAccountTokens
- An array of structures containing information about the tokens.public ListWorkspaceServiceAccountTokensResult withServiceAccountTokens(ServiceAccountTokenSummary... serviceAccountTokens)
An array of structures containing information about the tokens.
NOTE: This method appends the values to the existing list (if any). Use
setServiceAccountTokens(java.util.Collection)
or withServiceAccountTokens(java.util.Collection)
if you want to override the existing values.
serviceAccountTokens
- An array of structures containing information about the tokens.public ListWorkspaceServiceAccountTokensResult withServiceAccountTokens(Collection<ServiceAccountTokenSummary> serviceAccountTokens)
An array of structures containing information about the tokens.
serviceAccountTokens
- An array of structures containing information about the tokens.public void setWorkspaceId(String workspaceId)
The ID of the workspace where the tokens reside.
workspaceId
- The ID of the workspace where the tokens reside.public String getWorkspaceId()
The ID of the workspace where the tokens reside.
public ListWorkspaceServiceAccountTokensResult withWorkspaceId(String workspaceId)
The ID of the workspace where the tokens reside.
workspaceId
- The ID of the workspace where the tokens reside.public String toString()
toString
in class Object
Object.toString()
public ListWorkspaceServiceAccountTokensResult clone()