@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkspaceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateWorkspaceRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateWorkspaceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountAccessType()
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization.
|
List<String> |
getAuthenticationProviders()
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users
for using the Grafana console within a workspace.
|
String |
getClientToken()
A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
String |
getOrganizationRoleName()
The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources
and notification channels in other accounts in an organization.
|
String |
getPermissionType()
If you specify
SERVICE_MANAGED on AWS Grafana console, Amazon Managed Grafana automatically creates
the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and
notification channels. |
String |
getStackSetName()
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
|
Map<String,String> |
getTags()
The list of tags associated with the workspace.
|
List<String> |
getWorkspaceDataSources()
Specify the Amazon Web Services data sources that you want to be queried in this workspace.
|
String |
getWorkspaceDescription()
A description for the workspace.
|
String |
getWorkspaceName()
The name for the workspace.
|
List<String> |
getWorkspaceNotificationDestinations()
Specify the Amazon Web Services notification channels that you plan to use in this workspace.
|
List<String> |
getWorkspaceOrganizationalUnits()
Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is
in an account that is part of an organization.
|
String |
getWorkspaceRoleArn()
The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the workspace
will view data from.
|
int |
hashCode() |
void |
setAccountAccessType(String accountAccessType)
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization.
|
void |
setAuthenticationProviders(Collection<String> authenticationProviders)
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users
for using the Grafana console within a workspace.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
void |
setOrganizationRoleName(String organizationRoleName)
The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources
and notification channels in other accounts in an organization.
|
void |
setPermissionType(String permissionType)
If you specify
SERVICE_MANAGED on AWS Grafana console, Amazon Managed Grafana automatically creates
the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and
notification channels. |
void |
setStackSetName(String stackSetName)
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
|
void |
setTags(Map<String,String> tags)
The list of tags associated with the workspace.
|
void |
setWorkspaceDataSources(Collection<String> workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace.
|
void |
setWorkspaceDescription(String workspaceDescription)
A description for the workspace.
|
void |
setWorkspaceName(String workspaceName)
The name for the workspace.
|
void |
setWorkspaceNotificationDestinations(Collection<String> workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace.
|
void |
setWorkspaceOrganizationalUnits(Collection<String> workspaceOrganizationalUnits)
Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is
in an account that is part of an organization.
|
void |
setWorkspaceRoleArn(String workspaceRoleArn)
The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the workspace
will view data from.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkspaceRequest |
withAccountAccessType(AccountAccessType accountAccessType)
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization.
|
CreateWorkspaceRequest |
withAccountAccessType(String accountAccessType)
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization.
|
CreateWorkspaceRequest |
withAuthenticationProviders(AuthenticationProviderTypes... authenticationProviders)
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users
for using the Grafana console within a workspace.
|
CreateWorkspaceRequest |
withAuthenticationProviders(Collection<String> authenticationProviders)
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users
for using the Grafana console within a workspace.
|
CreateWorkspaceRequest |
withAuthenticationProviders(String... authenticationProviders)
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users
for using the Grafana console within a workspace.
|
CreateWorkspaceRequest |
withClientToken(String clientToken)
A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
CreateWorkspaceRequest |
withOrganizationRoleName(String organizationRoleName)
The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources
and notification channels in other accounts in an organization.
|
CreateWorkspaceRequest |
withPermissionType(PermissionType permissionType)
If you specify
SERVICE_MANAGED on AWS Grafana console, Amazon Managed Grafana automatically creates
the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and
notification channels. |
CreateWorkspaceRequest |
withPermissionType(String permissionType)
If you specify
SERVICE_MANAGED on AWS Grafana console, Amazon Managed Grafana automatically creates
the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and
notification channels. |
CreateWorkspaceRequest |
withStackSetName(String stackSetName)
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
|
CreateWorkspaceRequest |
withTags(Map<String,String> tags)
The list of tags associated with the workspace.
|
CreateWorkspaceRequest |
withWorkspaceDataSources(Collection<String> workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace.
|
CreateWorkspaceRequest |
withWorkspaceDataSources(DataSourceType... workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace.
|
CreateWorkspaceRequest |
withWorkspaceDataSources(String... workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace.
|
CreateWorkspaceRequest |
withWorkspaceDescription(String workspaceDescription)
A description for the workspace.
|
CreateWorkspaceRequest |
withWorkspaceName(String workspaceName)
The name for the workspace.
|
CreateWorkspaceRequest |
withWorkspaceNotificationDestinations(Collection<String> workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace.
|
CreateWorkspaceRequest |
withWorkspaceNotificationDestinations(NotificationDestinationType... workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace.
|
CreateWorkspaceRequest |
withWorkspaceNotificationDestinations(String... workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace.
|
CreateWorkspaceRequest |
withWorkspaceOrganizationalUnits(Collection<String> workspaceOrganizationalUnits)
Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is
in an account that is part of an organization.
|
CreateWorkspaceRequest |
withWorkspaceOrganizationalUnits(String... workspaceOrganizationalUnits)
Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is
in an account that is part of an organization.
|
CreateWorkspaceRequest |
withWorkspaceRoleArn(String workspaceRoleArn)
The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the workspace
will view data from.
|
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 void setAccountAccessType(String accountAccessType)
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If
you specify ORGANIZATION
, you must specify which organizational units the workspace can access in
the workspaceOrganizationalUnits
parameter.
accountAccessType
- Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services
account only, or whether it can also access Amazon Web Services resources in other accounts in the same
organization. If you specify ORGANIZATION
, you must specify which organizational units the
workspace can access in the workspaceOrganizationalUnits
parameter.AccountAccessType
public String getAccountAccessType()
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If
you specify ORGANIZATION
, you must specify which organizational units the workspace can access in
the workspaceOrganizationalUnits
parameter.
ORGANIZATION
, you must specify which organizational units the
workspace can access in the workspaceOrganizationalUnits
parameter.AccountAccessType
public CreateWorkspaceRequest withAccountAccessType(String accountAccessType)
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If
you specify ORGANIZATION
, you must specify which organizational units the workspace can access in
the workspaceOrganizationalUnits
parameter.
accountAccessType
- Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services
account only, or whether it can also access Amazon Web Services resources in other accounts in the same
organization. If you specify ORGANIZATION
, you must specify which organizational units the
workspace can access in the workspaceOrganizationalUnits
parameter.AccountAccessType
public CreateWorkspaceRequest withAccountAccessType(AccountAccessType accountAccessType)
Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account
only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If
you specify ORGANIZATION
, you must specify which organizational units the workspace can access in
the workspaceOrganizationalUnits
parameter.
accountAccessType
- Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services
account only, or whether it can also access Amazon Web Services resources in other accounts in the same
organization. If you specify ORGANIZATION
, you must specify which organizational units the
workspace can access in the workspaceOrganizationalUnits
parameter.AccountAccessType
public List<String> getAuthenticationProviders()
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
AuthenticationProviderTypes
public void setAuthenticationProviders(Collection<String> authenticationProviders)
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
authenticationProviders
- Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to
authenticate users for using the Grafana console within a workspace. For more information, see User authentication
in Amazon Managed Grafana.AuthenticationProviderTypes
public CreateWorkspaceRequest withAuthenticationProviders(String... authenticationProviders)
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
NOTE: This method appends the values to the existing list (if any). Use
setAuthenticationProviders(java.util.Collection)
or
withAuthenticationProviders(java.util.Collection)
if you want to override the existing values.
authenticationProviders
- Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to
authenticate users for using the Grafana console within a workspace. For more information, see User authentication
in Amazon Managed Grafana.AuthenticationProviderTypes
public CreateWorkspaceRequest withAuthenticationProviders(Collection<String> authenticationProviders)
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
authenticationProviders
- Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to
authenticate users for using the Grafana console within a workspace. For more information, see User authentication
in Amazon Managed Grafana.AuthenticationProviderTypes
public CreateWorkspaceRequest withAuthenticationProviders(AuthenticationProviderTypes... authenticationProviders)
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
authenticationProviders
- Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to
authenticate users for using the Grafana console within a workspace. For more information, see User authentication
in Amazon Managed Grafana.AuthenticationProviderTypes
public void setClientToken(String clientToken)
A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
public CreateWorkspaceRequest withClientToken(String clientToken)
A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.public void setOrganizationRoleName(String organizationRoleName)
The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources and notification channels in other accounts in an organization.
organizationRoleName
- The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data
sources and notification channels in other accounts in an organization.public String getOrganizationRoleName()
The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources and notification channels in other accounts in an organization.
public CreateWorkspaceRequest withOrganizationRoleName(String organizationRoleName)
The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources and notification channels in other accounts in an organization.
organizationRoleName
- The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data
sources and notification channels in other accounts in an organization.public void setPermissionType(String permissionType)
If you specify SERVICE_MANAGED
on AWS Grafana console, Amazon Managed Grafana automatically creates
the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and
notification channels. In CLI mode, the permissionType SERVICE_MANAGED
will not create the IAM role
for you.
If you specify CUSTOMER_MANAGED
, you will manage those roles and permissions yourself. If you are
creating this workspace in a member account of an organization that is not a delegated administrator account, and
you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must
choose CUSTOMER_MANAGED
.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
permissionType
- If you specify SERVICE_MANAGED
on AWS Grafana console, Amazon Managed Grafana automatically
creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services
data sources and notification channels. In CLI mode, the permissionType SERVICE_MANAGED
will
not create the IAM role for you.
If you specify CUSTOMER_MANAGED
, you will manage those roles and permissions yourself. If you
are creating this workspace in a member account of an organization that is not a delegated administrator
account, and you want the workspace to access data sources in other Amazon Web Services accounts in the
organization, you must choose CUSTOMER_MANAGED
.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
PermissionType
public String getPermissionType()
If you specify SERVICE_MANAGED
on AWS Grafana console, Amazon Managed Grafana automatically creates
the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and
notification channels. In CLI mode, the permissionType SERVICE_MANAGED
will not create the IAM role
for you.
If you specify CUSTOMER_MANAGED
, you will manage those roles and permissions yourself. If you are
creating this workspace in a member account of an organization that is not a delegated administrator account, and
you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must
choose CUSTOMER_MANAGED
.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
SERVICE_MANAGED
on AWS Grafana console, Amazon Managed Grafana automatically
creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services
data sources and notification channels. In CLI mode, the permissionType SERVICE_MANAGED
will
not create the IAM role for you.
If you specify CUSTOMER_MANAGED
, you will manage those roles and permissions yourself. If
you are creating this workspace in a member account of an organization that is not a delegated
administrator account, and you want the workspace to access data sources in other Amazon Web Services
accounts in the organization, you must choose CUSTOMER_MANAGED
.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
PermissionType
public CreateWorkspaceRequest withPermissionType(String permissionType)
If you specify SERVICE_MANAGED
on AWS Grafana console, Amazon Managed Grafana automatically creates
the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and
notification channels. In CLI mode, the permissionType SERVICE_MANAGED
will not create the IAM role
for you.
If you specify CUSTOMER_MANAGED
, you will manage those roles and permissions yourself. If you are
creating this workspace in a member account of an organization that is not a delegated administrator account, and
you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must
choose CUSTOMER_MANAGED
.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
permissionType
- If you specify SERVICE_MANAGED
on AWS Grafana console, Amazon Managed Grafana automatically
creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services
data sources and notification channels. In CLI mode, the permissionType SERVICE_MANAGED
will
not create the IAM role for you.
If you specify CUSTOMER_MANAGED
, you will manage those roles and permissions yourself. If you
are creating this workspace in a member account of an organization that is not a delegated administrator
account, and you want the workspace to access data sources in other Amazon Web Services accounts in the
organization, you must choose CUSTOMER_MANAGED
.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
PermissionType
public CreateWorkspaceRequest withPermissionType(PermissionType permissionType)
If you specify SERVICE_MANAGED
on AWS Grafana console, Amazon Managed Grafana automatically creates
the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and
notification channels. In CLI mode, the permissionType SERVICE_MANAGED
will not create the IAM role
for you.
If you specify CUSTOMER_MANAGED
, you will manage those roles and permissions yourself. If you are
creating this workspace in a member account of an organization that is not a delegated administrator account, and
you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must
choose CUSTOMER_MANAGED
.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
permissionType
- If you specify SERVICE_MANAGED
on AWS Grafana console, Amazon Managed Grafana automatically
creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services
data sources and notification channels. In CLI mode, the permissionType SERVICE_MANAGED
will
not create the IAM role for you.
If you specify CUSTOMER_MANAGED
, you will manage those roles and permissions yourself. If you
are creating this workspace in a member account of an organization that is not a delegated administrator
account, and you want the workspace to access data sources in other Amazon Web Services accounts in the
organization, you must choose CUSTOMER_MANAGED
.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
PermissionType
public void setStackSetName(String stackSetName)
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
stackSetName
- The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.public String getStackSetName()
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
public CreateWorkspaceRequest withStackSetName(String stackSetName)
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
stackSetName
- The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.public Map<String,String> getTags()
The list of tags associated with the workspace.
public void setTags(Map<String,String> tags)
The list of tags associated with the workspace.
tags
- The list of tags associated with the workspace.public CreateWorkspaceRequest withTags(Map<String,String> tags)
The list of tags associated with the workspace.
tags
- The list of tags associated with the workspace.public CreateWorkspaceRequest addTagsEntry(String key, String value)
public CreateWorkspaceRequest clearTagsEntries()
public List<String> getWorkspaceDataSources()
Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
DataSourceType
public void setWorkspaceDataSources(Collection<String> workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
workspaceDataSources
- Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying
these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the
Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
DataSourceType
public CreateWorkspaceRequest withWorkspaceDataSources(String... workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
NOTE: This method appends the values to the existing list (if any). Use
setWorkspaceDataSources(java.util.Collection)
or withWorkspaceDataSources(java.util.Collection)
if you want to override the existing values.
workspaceDataSources
- Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying
these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the
Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
DataSourceType
public CreateWorkspaceRequest withWorkspaceDataSources(Collection<String> workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
workspaceDataSources
- Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying
these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the
Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
DataSourceType
public CreateWorkspaceRequest withWorkspaceDataSources(DataSourceType... workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
workspaceDataSources
- Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying
these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the
Grafana console in the workspace.
If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.
DataSourceType
public void setWorkspaceDescription(String workspaceDescription)
A description for the workspace. This is used only to help you identify this workspace.
Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$
workspaceDescription
- A description for the workspace. This is used only to help you identify this workspace.
Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$
public String getWorkspaceDescription()
A description for the workspace. This is used only to help you identify this workspace.
Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$
Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$
public CreateWorkspaceRequest withWorkspaceDescription(String workspaceDescription)
A description for the workspace. This is used only to help you identify this workspace.
Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$
workspaceDescription
- A description for the workspace. This is used only to help you identify this workspace.
Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$
public void setWorkspaceName(String workspaceName)
The name for the workspace. It does not have to be unique.
workspaceName
- The name for the workspace. It does not have to be unique.public String getWorkspaceName()
The name for the workspace. It does not have to be unique.
public CreateWorkspaceRequest withWorkspaceName(String workspaceName)
The name for the workspace. It does not have to be unique.
workspaceName
- The name for the workspace. It does not have to be unique.public List<String> getWorkspaceNotificationDestinations()
Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to use these channels.
NotificationDestinationType
public void setWorkspaceNotificationDestinations(Collection<String> workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to use these channels.
workspaceNotificationDestinations
- Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying
these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
Amazon Managed Grafana to use these channels.NotificationDestinationType
public CreateWorkspaceRequest withWorkspaceNotificationDestinations(String... workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to use these channels.
NOTE: This method appends the values to the existing list (if any). Use
setWorkspaceNotificationDestinations(java.util.Collection)
or
withWorkspaceNotificationDestinations(java.util.Collection)
if you want to override the existing values.
workspaceNotificationDestinations
- Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying
these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
Amazon Managed Grafana to use these channels.NotificationDestinationType
public CreateWorkspaceRequest withWorkspaceNotificationDestinations(Collection<String> workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to use these channels.
workspaceNotificationDestinations
- Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying
these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
Amazon Managed Grafana to use these channels.NotificationDestinationType
public CreateWorkspaceRequest withWorkspaceNotificationDestinations(NotificationDestinationType... workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to use these channels.
workspaceNotificationDestinations
- Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying
these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
Amazon Managed Grafana to use these channels.NotificationDestinationType
public List<String> getWorkspaceOrganizationalUnits()
Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.
public void setWorkspaceOrganizationalUnits(Collection<String> workspaceOrganizationalUnits)
Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.
workspaceOrganizationalUnits
- Specifies the organizational units that this workspace is allowed to use data sources from, if this
workspace is in an account that is part of an organization.public CreateWorkspaceRequest withWorkspaceOrganizationalUnits(String... workspaceOrganizationalUnits)
Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.
NOTE: This method appends the values to the existing list (if any). Use
setWorkspaceOrganizationalUnits(java.util.Collection)
or
withWorkspaceOrganizationalUnits(java.util.Collection)
if you want to override the existing values.
workspaceOrganizationalUnits
- Specifies the organizational units that this workspace is allowed to use data sources from, if this
workspace is in an account that is part of an organization.public CreateWorkspaceRequest withWorkspaceOrganizationalUnits(Collection<String> workspaceOrganizationalUnits)
Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.
workspaceOrganizationalUnits
- Specifies the organizational units that this workspace is allowed to use data sources from, if this
workspace is in an account that is part of an organization.public void setWorkspaceRoleArn(String workspaceRoleArn)
The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the workspace
will view data from. If you already have a role that you want to use, specify it here. The permission type should
be set to CUSTOMER_MANAGED
.
workspaceRoleArn
- The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the
workspace will view data from. If you already have a role that you want to use, specify it here. The
permission type should be set to CUSTOMER_MANAGED
.public String getWorkspaceRoleArn()
The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the workspace
will view data from. If you already have a role that you want to use, specify it here. The permission type should
be set to CUSTOMER_MANAGED
.
CUSTOMER_MANAGED
.public CreateWorkspaceRequest withWorkspaceRoleArn(String workspaceRoleArn)
The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the workspace
will view data from. If you already have a role that you want to use, specify it here. The permission type should
be set to CUSTOMER_MANAGED
.
workspaceRoleArn
- The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the
workspace will view data from. If you already have a role that you want to use, specify it here. The
permission type should be set to CUSTOMER_MANAGED
.public String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()