@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateWorkspaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateWorkspaceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateWorkspaceRequest |
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.
|
String |
getOrganizationRoleName()
The name of an IAM role that already exists to use to access resources through Organizations.
|
String |
getPermissionType()
If you specify
Service Managed , 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.
|
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 |
getWorkspaceId()
The ID of the workspace to update.
|
String |
getWorkspaceName()
A new name for the workspace to update.
|
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 |
setOrganizationRoleName(String organizationRoleName)
The name of an IAM role that already exists to use to access resources through Organizations.
|
void |
setPermissionType(String permissionType)
If you specify
Service Managed , 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 |
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 |
setWorkspaceId(String workspaceId)
The ID of the workspace to update.
|
void |
setWorkspaceName(String workspaceName)
A new name for the workspace to update.
|
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.
|
UpdateWorkspaceRequest |
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.
|
UpdateWorkspaceRequest |
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.
|
UpdateWorkspaceRequest |
withOrganizationRoleName(String organizationRoleName)
The name of an IAM role that already exists to use to access resources through Organizations.
|
UpdateWorkspaceRequest |
withPermissionType(PermissionType permissionType)
If you specify
Service Managed , 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. |
UpdateWorkspaceRequest |
withPermissionType(String permissionType)
If you specify
Service Managed , 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. |
UpdateWorkspaceRequest |
withStackSetName(String stackSetName)
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
|
UpdateWorkspaceRequest |
withWorkspaceDataSources(Collection<String> workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace.
|
UpdateWorkspaceRequest |
withWorkspaceDataSources(DataSourceType... workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace.
|
UpdateWorkspaceRequest |
withWorkspaceDataSources(String... workspaceDataSources)
Specify the Amazon Web Services data sources that you want to be queried in this workspace.
|
UpdateWorkspaceRequest |
withWorkspaceDescription(String workspaceDescription)
A description for the workspace.
|
UpdateWorkspaceRequest |
withWorkspaceId(String workspaceId)
The ID of the workspace to update.
|
UpdateWorkspaceRequest |
withWorkspaceName(String workspaceName)
A new name for the workspace to update.
|
UpdateWorkspaceRequest |
withWorkspaceNotificationDestinations(Collection<String> workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace.
|
UpdateWorkspaceRequest |
withWorkspaceNotificationDestinations(NotificationDestinationType... workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace.
|
UpdateWorkspaceRequest |
withWorkspaceNotificationDestinations(String... workspaceNotificationDestinations)
Specify the Amazon Web Services notification channels that you plan to use in this workspace.
|
UpdateWorkspaceRequest |
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.
|
UpdateWorkspaceRequest |
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.
|
UpdateWorkspaceRequest |
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 UpdateWorkspaceRequest 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 UpdateWorkspaceRequest 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 void setOrganizationRoleName(String organizationRoleName)
The name of an IAM role that already exists to use to access resources through Organizations.
organizationRoleName
- The name of an IAM role that already exists to use to access resources through Organizations.public String getOrganizationRoleName()
The name of an IAM role that already exists to use to access resources through Organizations.
public UpdateWorkspaceRequest withOrganizationRoleName(String organizationRoleName)
The name of an IAM role that already exists to use to access resources through Organizations.
organizationRoleName
- The name of an IAM role that already exists to use to access resources through Organizations.public void setPermissionType(String permissionType)
If you specify Service Managed
, 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.
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 and that account 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
, 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.
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 and that account 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
, 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.
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 and that account 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
, 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.
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 and that account 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 UpdateWorkspaceRequest withPermissionType(String permissionType)
If you specify Service Managed
, 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.
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 and that account 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
, 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.
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 and that account 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 UpdateWorkspaceRequest withPermissionType(PermissionType permissionType)
If you specify Service Managed
, 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.
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 and that account 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
, 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.
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 and that account 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 UpdateWorkspaceRequest 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 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 later in the workspace console. 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 later in the workspace console. 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 later in the workspace console. 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 later in the workspace console. However, you will then have to manually configure permissions for it.
DataSourceType
public UpdateWorkspaceRequest 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 later in the workspace console. 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 later in the workspace console. However, you will then have to manually configure permissions for it.
DataSourceType
public UpdateWorkspaceRequest 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 later in the workspace console. 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 later in the workspace console. However, you will then have to manually configure permissions for it.
DataSourceType
public UpdateWorkspaceRequest 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 later in the workspace console. 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 later in the workspace console. 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.
workspaceDescription
- A description for the workspace. This is used only to help you identify this workspace.public String getWorkspaceDescription()
A description for the workspace. This is used only to help you identify this workspace.
public UpdateWorkspaceRequest withWorkspaceDescription(String workspaceDescription)
A description for the workspace. This is used only to help you identify this workspace.
workspaceDescription
- A description for the workspace. This is used only to help you identify this workspace.public void setWorkspaceId(String workspaceId)
The ID of the workspace to update.
workspaceId
- The ID of the workspace to update.public String getWorkspaceId()
The ID of the workspace to update.
public UpdateWorkspaceRequest withWorkspaceId(String workspaceId)
The ID of the workspace to update.
workspaceId
- The ID of the workspace to update.public void setWorkspaceName(String workspaceName)
A new name for the workspace to update.
workspaceName
- A new name for the workspace to update.public String getWorkspaceName()
A new name for the workspace to update.
public UpdateWorkspaceRequest withWorkspaceName(String workspaceName)
A new name for the workspace to update.
workspaceName
- A new name for the workspace to update.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 UpdateWorkspaceRequest 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 UpdateWorkspaceRequest 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 UpdateWorkspaceRequest 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 UpdateWorkspaceRequest 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 UpdateWorkspaceRequest 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. If you omit this field and
you specify some Amazon Web Services resources in workspaceDataSources
or
workspaceNotificationDestinations
, a new IAM role with the necessary permissions is automatically
created.
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. If you
omit this field and you specify some Amazon Web Services resources in workspaceDataSources
or
workspaceNotificationDestinations
, a new IAM role with the necessary permissions is
automatically created.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. If you omit this field and
you specify some Amazon Web Services resources in workspaceDataSources
or
workspaceNotificationDestinations
, a new IAM role with the necessary permissions is automatically
created.
workspaceDataSources
or workspaceNotificationDestinations
, a new IAM role with the necessary permissions is
automatically created.public UpdateWorkspaceRequest 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. If you omit this field and
you specify some Amazon Web Services resources in workspaceDataSources
or
workspaceNotificationDestinations
, a new IAM role with the necessary permissions is automatically
created.
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. If you
omit this field and you specify some Amazon Web Services resources in workspaceDataSources
or
workspaceNotificationDestinations
, a new IAM role with the necessary permissions is
automatically created.public String toString()
toString
in class Object
Object.toString()
public UpdateWorkspaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()