@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspaceServiceAccountTokenResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateWorkspaceServiceAccountTokenResult() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceServiceAccountTokenResult |
clone() |
boolean |
equals(Object obj) |
String |
getServiceAccountId()
The ID of the service account where the token was created.
|
ServiceAccountTokenSummaryWithKey |
getServiceAccountToken()
Information about the created token, including the key.
|
String |
getWorkspaceId()
The ID of the workspace where the token was created.
|
int |
hashCode() |
void |
setServiceAccountId(String serviceAccountId)
The ID of the service account where the token was created.
|
void |
setServiceAccountToken(ServiceAccountTokenSummaryWithKey serviceAccountToken)
Information about the created token, including the key.
|
void |
setWorkspaceId(String workspaceId)
The ID of the workspace where the token was created.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkspaceServiceAccountTokenResult |
withServiceAccountId(String serviceAccountId)
The ID of the service account where the token was created.
|
CreateWorkspaceServiceAccountTokenResult |
withServiceAccountToken(ServiceAccountTokenSummaryWithKey serviceAccountToken)
Information about the created token, including the key.
|
CreateWorkspaceServiceAccountTokenResult |
withWorkspaceId(String workspaceId)
The ID of the workspace where the token was created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreateWorkspaceServiceAccountTokenResult()
public void setServiceAccountId(String serviceAccountId)
The ID of the service account where the token was created.
serviceAccountId
- The ID of the service account where the token was created.public String getServiceAccountId()
The ID of the service account where the token was created.
public CreateWorkspaceServiceAccountTokenResult withServiceAccountId(String serviceAccountId)
The ID of the service account where the token was created.
serviceAccountId
- The ID of the service account where the token was created.public void setServiceAccountToken(ServiceAccountTokenSummaryWithKey serviceAccountToken)
Information about the created token, including the key. Be sure to store the key securely.
serviceAccountToken
- Information about the created token, including the key. Be sure to store the key securely.public ServiceAccountTokenSummaryWithKey getServiceAccountToken()
Information about the created token, including the key. Be sure to store the key securely.
public CreateWorkspaceServiceAccountTokenResult withServiceAccountToken(ServiceAccountTokenSummaryWithKey serviceAccountToken)
Information about the created token, including the key. Be sure to store the key securely.
serviceAccountToken
- Information about the created token, including the key. Be sure to store the key securely.public void setWorkspaceId(String workspaceId)
The ID of the workspace where the token was created.
workspaceId
- The ID of the workspace where the token was created.public String getWorkspaceId()
The ID of the workspace where the token was created.
public CreateWorkspaceServiceAccountTokenResult withWorkspaceId(String workspaceId)
The ID of the workspace where the token was created.
workspaceId
- The ID of the workspace where the token was created.public String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceServiceAccountTokenResult clone()