@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspaceServiceAccountRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkspaceServiceAccountRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceServiceAccountRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGrafanaRole()
The permission level to use for this service account.
|
String |
getName()
A name for the service account.
|
String |
getWorkspaceId()
The ID of the workspace within which to create the service account.
|
int |
hashCode() |
void |
setGrafanaRole(String grafanaRole)
The permission level to use for this service account.
|
void |
setName(String name)
A name for the service account.
|
void |
setWorkspaceId(String workspaceId)
The ID of the workspace within which to create the service account.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkspaceServiceAccountRequest |
withGrafanaRole(Role grafanaRole)
The permission level to use for this service account.
|
CreateWorkspaceServiceAccountRequest |
withGrafanaRole(String grafanaRole)
The permission level to use for this service account.
|
CreateWorkspaceServiceAccountRequest |
withName(String name)
A name for the service account.
|
CreateWorkspaceServiceAccountRequest |
withWorkspaceId(String workspaceId)
The ID of the workspace within which to create the service account.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateWorkspaceServiceAccountRequest()
public void setGrafanaRole(String grafanaRole)
The permission level to use for this service account.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
grafanaRole
- The permission level to use for this service account. For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
Role
public String getGrafanaRole()
The permission level to use for this service account.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
Role
public CreateWorkspaceServiceAccountRequest withGrafanaRole(String grafanaRole)
The permission level to use for this service account.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
grafanaRole
- The permission level to use for this service account. For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
Role
public CreateWorkspaceServiceAccountRequest withGrafanaRole(Role grafanaRole)
The permission level to use for this service account.
For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
grafanaRole
- The permission level to use for this service account. For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.
Role
public void setName(String name)
A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.
name
- A name for the service account. The name must be unique within the workspace, as it determines the ID
associated with the service account.public String getName()
A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.
public CreateWorkspaceServiceAccountRequest withName(String name)
A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.
name
- A name for the service account. The name must be unique within the workspace, as it determines the ID
associated with the service account.public void setWorkspaceId(String workspaceId)
The ID of the workspace within which to create the service account.
workspaceId
- The ID of the workspace within which to create the service account.public String getWorkspaceId()
The ID of the workspace within which to create the service account.
public CreateWorkspaceServiceAccountRequest withWorkspaceId(String workspaceId)
The ID of the workspace within which to create the service account.
workspaceId
- The ID of the workspace within which to create the service account.public String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceServiceAccountRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()