@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspaceServiceAccountResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateWorkspaceServiceAccountResult() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceServiceAccountResult |
clone() |
boolean |
equals(Object obj) |
String |
getGrafanaRole()
The permission level given to the service account.
|
String |
getId()
The ID of the service account.
|
String |
getName()
The name of the service account.
|
String |
getWorkspaceId()
The workspace with which the service account is associated.
|
int |
hashCode() |
void |
setGrafanaRole(String grafanaRole)
The permission level given to the service account.
|
void |
setId(String id)
The ID of the service account.
|
void |
setName(String name)
The name of the service account.
|
void |
setWorkspaceId(String workspaceId)
The workspace with which the service account is associated.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkspaceServiceAccountResult |
withGrafanaRole(Role grafanaRole)
The permission level given to the service account.
|
CreateWorkspaceServiceAccountResult |
withGrafanaRole(String grafanaRole)
The permission level given to the service account.
|
CreateWorkspaceServiceAccountResult |
withId(String id)
The ID of the service account.
|
CreateWorkspaceServiceAccountResult |
withName(String name)
The name of the service account.
|
CreateWorkspaceServiceAccountResult |
withWorkspaceId(String workspaceId)
The workspace with which the service account is associated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGrafanaRole(String grafanaRole)
The permission level given to the service account.
grafanaRole
- The permission level given to the service account.Role
public String getGrafanaRole()
The permission level given to the service account.
Role
public CreateWorkspaceServiceAccountResult withGrafanaRole(String grafanaRole)
The permission level given to the service account.
grafanaRole
- The permission level given to the service account.Role
public CreateWorkspaceServiceAccountResult withGrafanaRole(Role grafanaRole)
The permission level given to the service account.
grafanaRole
- The permission level given to the service account.Role
public void setId(String id)
The ID of the service account.
id
- The ID of the service account.public String getId()
The ID of the service account.
public CreateWorkspaceServiceAccountResult withId(String id)
The ID of the service account.
id
- The ID of the service account.public void setName(String name)
The name of the service account.
name
- The name of the service account.public String getName()
The name of the service account.
public CreateWorkspaceServiceAccountResult withName(String name)
The name of the service account.
name
- The name of the service account.public void setWorkspaceId(String workspaceId)
The workspace with which the service account is associated.
workspaceId
- The workspace with which the service account is associated.public String getWorkspaceId()
The workspace with which the service account is associated.
public CreateWorkspaceServiceAccountResult withWorkspaceId(String workspaceId)
The workspace with which the service account is associated.
workspaceId
- The workspace with which the service account is associated.public String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceServiceAccountResult clone()