@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkspaceServiceAccountsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkspaceServiceAccountsResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkspaceServiceAccountsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of service accounts.
|
List<ServiceAccountSummary> |
getServiceAccounts()
An array of structures containing information about the service accounts.
|
String |
getWorkspaceId()
The workspace to which the service accounts are associated.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of service accounts.
|
void |
setServiceAccounts(Collection<ServiceAccountSummary> serviceAccounts)
An array of structures containing information about the service accounts.
|
void |
setWorkspaceId(String workspaceId)
The workspace to which the service accounts are associated.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkspaceServiceAccountsResult |
withNextToken(String nextToken)
The token to use when requesting the next set of service accounts.
|
ListWorkspaceServiceAccountsResult |
withServiceAccounts(Collection<ServiceAccountSummary> serviceAccounts)
An array of structures containing information about the service accounts.
|
ListWorkspaceServiceAccountsResult |
withServiceAccounts(ServiceAccountSummary... serviceAccounts)
An array of structures containing information about the service accounts.
|
ListWorkspaceServiceAccountsResult |
withWorkspaceId(String workspaceId)
The workspace to which the service accounts are associated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ListWorkspaceServiceAccountsResult 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 List<ServiceAccountSummary> getServiceAccounts()
An array of structures containing information about the service accounts.
public void setServiceAccounts(Collection<ServiceAccountSummary> serviceAccounts)
An array of structures containing information about the service accounts.
serviceAccounts
- An array of structures containing information about the service accounts.public ListWorkspaceServiceAccountsResult withServiceAccounts(ServiceAccountSummary... serviceAccounts)
An array of structures containing information about the service accounts.
NOTE: This method appends the values to the existing list (if any). Use
setServiceAccounts(java.util.Collection)
or withServiceAccounts(java.util.Collection)
if you
want to override the existing values.
serviceAccounts
- An array of structures containing information about the service accounts.public ListWorkspaceServiceAccountsResult withServiceAccounts(Collection<ServiceAccountSummary> serviceAccounts)
An array of structures containing information about the service accounts.
serviceAccounts
- An array of structures containing information about the service accounts.public void setWorkspaceId(String workspaceId)
The workspace to which the service accounts are associated.
workspaceId
- The workspace to which the service accounts are associated.public String getWorkspaceId()
The workspace to which the service accounts are associated.
public ListWorkspaceServiceAccountsResult withWorkspaceId(String workspaceId)
The workspace to which the service accounts are associated.
workspaceId
- The workspace to which the service accounts are associated.public String toString()
toString
in class Object
Object.toString()
public ListWorkspaceServiceAccountsResult clone()