Interface WorkspaceDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceDescription.Builder,WorkspaceDescription>,SdkBuilder<WorkspaceDescription.Builder,WorkspaceDescription>,SdkPojo
- Enclosing class:
- WorkspaceDescription
public static interface WorkspaceDescription.Builder extends SdkPojo, CopyableBuilder<WorkspaceDescription.Builder,WorkspaceDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkspaceDescription.BuilderaccountAccessType(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.WorkspaceDescription.BuilderaccountAccessType(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.default WorkspaceDescription.Builderauthentication(Consumer<AuthenticationSummary.Builder> authentication)A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.WorkspaceDescription.Builderauthentication(AuthenticationSummary authentication)A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.WorkspaceDescription.Buildercreated(Instant created)The date that the workspace was created.WorkspaceDescription.BuilderdataSources(Collection<DataSourceType> dataSources)Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.WorkspaceDescription.BuilderdataSources(DataSourceType... dataSources)Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.WorkspaceDescription.BuilderdataSourcesWithStrings(String... dataSources)Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.WorkspaceDescription.BuilderdataSourcesWithStrings(Collection<String> dataSources)Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.WorkspaceDescription.Builderdescription(String description)The user-defined description of the workspace.WorkspaceDescription.Builderendpoint(String endpoint)The URL that users can use to access the Grafana console in the workspace.WorkspaceDescription.BuilderfreeTrialConsumed(Boolean freeTrialConsumed)Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.WorkspaceDescription.BuilderfreeTrialExpiration(Instant freeTrialExpiration)If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.WorkspaceDescription.BuildergrafanaToken(String grafanaToken)The token that ties this workspace to a Grafana Labs account.WorkspaceDescription.BuildergrafanaVersion(String grafanaVersion)The version of Grafana supported in this workspace.WorkspaceDescription.Builderid(String id)The unique ID of this workspace.WorkspaceDescription.BuilderlicenseExpiration(Instant licenseExpiration)If this workspace has a full Grafana Enterprise license purchased through Amazon Web Services Marketplace, this specifies when the license ends and will need to be renewed.WorkspaceDescription.BuilderlicenseType(String licenseType)Specifies whether this workspace has a full Grafana Enterprise license.WorkspaceDescription.BuilderlicenseType(LicenseType licenseType)Specifies whether this workspace has a full Grafana Enterprise license.WorkspaceDescription.Buildermodified(Instant modified)The most recent date that the workspace was modified.WorkspaceDescription.Buildername(String name)The name of the workspace.default WorkspaceDescription.BuildernetworkAccessControl(Consumer<NetworkAccessConfiguration.Builder> networkAccessControl)The configuration settings for network access to your workspace.WorkspaceDescription.BuildernetworkAccessControl(NetworkAccessConfiguration networkAccessControl)The configuration settings for network access to your workspace.WorkspaceDescription.BuildernotificationDestinations(Collection<NotificationDestinationType> notificationDestinations)The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.WorkspaceDescription.BuildernotificationDestinations(NotificationDestinationType... notificationDestinations)The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.WorkspaceDescription.BuildernotificationDestinationsWithStrings(String... notificationDestinations)The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.WorkspaceDescription.BuildernotificationDestinationsWithStrings(Collection<String> notificationDestinations)The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.WorkspaceDescription.BuilderorganizationalUnits(String... organizationalUnits)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.WorkspaceDescription.BuilderorganizationalUnits(Collection<String> organizationalUnits)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.WorkspaceDescription.BuilderorganizationRoleName(String organizationRoleName)The name of the IAM role that is used to access resources through Organizations.WorkspaceDescription.BuilderpermissionType(String permissionType)If this isSERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then 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.WorkspaceDescription.BuilderpermissionType(PermissionType permissionType)If this isSERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then 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.WorkspaceDescription.BuilderstackSetName(String stackSetName)The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.WorkspaceDescription.Builderstatus(String status)The current status of the workspace.WorkspaceDescription.Builderstatus(WorkspaceStatus status)The current status of the workspace.WorkspaceDescription.Buildertags(Map<String,String> tags)The list of tags associated with the workspace.default WorkspaceDescription.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).WorkspaceDescription.BuildervpcConfiguration(VpcConfiguration vpcConfiguration)The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).WorkspaceDescription.BuilderworkspaceRoleArn(String workspaceRoleArn)The IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountAccessType
WorkspaceDescription.Builder accountAccessType(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 this is
ORGANIZATION, theworkspaceOrganizationalUnitsparameter specifies which organizational units the workspace can access.- Parameters:
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 this isORGANIZATION, theworkspaceOrganizationalUnitsparameter specifies which organizational units the workspace can access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountAccessType,AccountAccessType
-
accountAccessType
WorkspaceDescription.Builder accountAccessType(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 this is
ORGANIZATION, theworkspaceOrganizationalUnitsparameter specifies which organizational units the workspace can access.- Parameters:
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 this isORGANIZATION, theworkspaceOrganizationalUnitsparameter specifies which organizational units the workspace can access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountAccessType,AccountAccessType
-
authentication
WorkspaceDescription.Builder authentication(AuthenticationSummary authentication)
A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
- Parameters:
authentication- A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default WorkspaceDescription.Builder authentication(Consumer<AuthenticationSummary.Builder> authentication)
A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
This is a convenience method that creates an instance of theAuthenticationSummary.Builderavoiding the need to create one manually viaAuthenticationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthentication(AuthenticationSummary).- Parameters:
authentication- a consumer that will call methods onAuthenticationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authentication(AuthenticationSummary)
-
created
WorkspaceDescription.Builder created(Instant created)
The date that the workspace was created.
- Parameters:
created- The date that the workspace was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourcesWithStrings
WorkspaceDescription.Builder dataSourcesWithStrings(Collection<String> dataSources)
Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.
This list is only used when the workspace was created through the Amazon Web Services console, and the
permissionTypeisSERVICE_MANAGED.- Parameters:
dataSources- Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.This list is only used when the workspace was created through the Amazon Web Services console, and the
permissionTypeisSERVICE_MANAGED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourcesWithStrings
WorkspaceDescription.Builder dataSourcesWithStrings(String... dataSources)
Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.
This list is only used when the workspace was created through the Amazon Web Services console, and the
permissionTypeisSERVICE_MANAGED.- Parameters:
dataSources- Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.This list is only used when the workspace was created through the Amazon Web Services console, and the
permissionTypeisSERVICE_MANAGED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
WorkspaceDescription.Builder dataSources(Collection<DataSourceType> dataSources)
Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.
This list is only used when the workspace was created through the Amazon Web Services console, and the
permissionTypeisSERVICE_MANAGED.- Parameters:
dataSources- Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.This list is only used when the workspace was created through the Amazon Web Services console, and the
permissionTypeisSERVICE_MANAGED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
WorkspaceDescription.Builder dataSources(DataSourceType... dataSources)
Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.
This list is only used when the workspace was created through the Amazon Web Services console, and the
permissionTypeisSERVICE_MANAGED.- Parameters:
dataSources- Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.This list is only used when the workspace was created through the Amazon Web Services console, and the
permissionTypeisSERVICE_MANAGED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
WorkspaceDescription.Builder description(String description)
The user-defined description of the workspace.
- Parameters:
description- The user-defined description of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
WorkspaceDescription.Builder endpoint(String endpoint)
The URL that users can use to access the Grafana console in the workspace.
- Parameters:
endpoint- The URL that users can use to access the Grafana console in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeTrialConsumed
WorkspaceDescription.Builder freeTrialConsumed(Boolean freeTrialConsumed)
Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- Parameters:
freeTrialConsumed- Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeTrialExpiration
WorkspaceDescription.Builder freeTrialExpiration(Instant freeTrialExpiration)
If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- Parameters:
freeTrialExpiration- If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grafanaToken
WorkspaceDescription.Builder grafanaToken(String grafanaToken)
The token that ties this workspace to a Grafana Labs account. For more information, see Link your account with Grafana Labs.
- Parameters:
grafanaToken- The token that ties this workspace to a Grafana Labs account. For more information, see Link your account with Grafana Labs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grafanaVersion
WorkspaceDescription.Builder grafanaVersion(String grafanaVersion)
The version of Grafana supported in this workspace.
- Parameters:
grafanaVersion- The version of Grafana supported in this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
WorkspaceDescription.Builder id(String id)
The unique ID of this workspace.
- Parameters:
id- The unique ID of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseExpiration
WorkspaceDescription.Builder licenseExpiration(Instant licenseExpiration)
If this workspace has a full Grafana Enterprise license purchased through Amazon Web Services Marketplace, this specifies when the license ends and will need to be renewed. Purchasing the Enterprise plugins option through Amazon Managed Grafana does not have an expiration. It is valid until the license is removed.
- Parameters:
licenseExpiration- If this workspace has a full Grafana Enterprise license purchased through Amazon Web Services Marketplace, this specifies when the license ends and will need to be renewed. Purchasing the Enterprise plugins option through Amazon Managed Grafana does not have an expiration. It is valid until the license is removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseType
WorkspaceDescription.Builder licenseType(String licenseType)
Specifies whether this workspace has a full Grafana Enterprise license.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- Parameters:
licenseType- Specifies whether this workspace has a full Grafana Enterprise license.Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LicenseType,LicenseType
-
licenseType
WorkspaceDescription.Builder licenseType(LicenseType licenseType)
Specifies whether this workspace has a full Grafana Enterprise license.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- Parameters:
licenseType- Specifies whether this workspace has a full Grafana Enterprise license.Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LicenseType,LicenseType
-
modified
WorkspaceDescription.Builder modified(Instant modified)
The most recent date that the workspace was modified.
- Parameters:
modified- The most recent date that the workspace was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
WorkspaceDescription.Builder name(String name)
The name of the workspace.
- Parameters:
name- The name of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkAccessControl
WorkspaceDescription.Builder networkAccessControl(NetworkAccessConfiguration networkAccessControl)
The configuration settings for network access to your workspace.
- Parameters:
networkAccessControl- The configuration settings for network access to your workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkAccessControl
default WorkspaceDescription.Builder networkAccessControl(Consumer<NetworkAccessConfiguration.Builder> networkAccessControl)
The configuration settings for network access to your workspace.
This is a convenience method that creates an instance of theNetworkAccessConfiguration.Builderavoiding the need to create one manually viaNetworkAccessConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkAccessControl(NetworkAccessConfiguration).- Parameters:
networkAccessControl- a consumer that will call methods onNetworkAccessConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
networkAccessControl(NetworkAccessConfiguration)
-
notificationDestinationsWithStrings
WorkspaceDescription.Builder notificationDestinationsWithStrings(Collection<String> notificationDestinations)
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
- Parameters:
notificationDestinations- The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationDestinationsWithStrings
WorkspaceDescription.Builder notificationDestinationsWithStrings(String... notificationDestinations)
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
- Parameters:
notificationDestinations- The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationDestinations
WorkspaceDescription.Builder notificationDestinations(Collection<NotificationDestinationType> notificationDestinations)
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
- Parameters:
notificationDestinations- The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationDestinations
WorkspaceDescription.Builder notificationDestinations(NotificationDestinationType... notificationDestinations)
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
- Parameters:
notificationDestinations- The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationRoleName
WorkspaceDescription.Builder organizationRoleName(String organizationRoleName)
The name of the IAM role that is used to access resources through Organizations.
- Parameters:
organizationRoleName- The name of the IAM role that is used to access resources through Organizations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnits
WorkspaceDescription.Builder organizationalUnits(Collection<String> organizationalUnits)
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.
- Parameters:
organizationalUnits- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnits
WorkspaceDescription.Builder organizationalUnits(String... organizationalUnits)
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.
- Parameters:
organizationalUnits- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionType
WorkspaceDescription.Builder permissionType(String permissionType)
If this is
SERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then 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 this is
CUSTOMER_MANAGED, you must manage those roles and permissions yourself.If you are working with a 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, this parameter must be set to
CUSTOMER_MANAGED.For more information about converting between customer and service managed, see Managing permissions for data sources and notification channels. For more information about the roles and permissions that must be managed for customer managed workspaces, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels
- Parameters:
permissionType- If this isSERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then 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 this is
CUSTOMER_MANAGED, you must manage those roles and permissions yourself.If you are working with a 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, this parameter must be set to
CUSTOMER_MANAGED.For more information about converting between customer and service managed, see Managing permissions for data sources and notification channels. For more information about the roles and permissions that must be managed for customer managed workspaces, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PermissionType,PermissionType
-
permissionType
WorkspaceDescription.Builder permissionType(PermissionType permissionType)
If this is
SERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then 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 this is
CUSTOMER_MANAGED, you must manage those roles and permissions yourself.If you are working with a 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, this parameter must be set to
CUSTOMER_MANAGED.For more information about converting between customer and service managed, see Managing permissions for data sources and notification channels. For more information about the roles and permissions that must be managed for customer managed workspaces, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels
- Parameters:
permissionType- If this isSERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then 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 this is
CUSTOMER_MANAGED, you must manage those roles and permissions yourself.If you are working with a 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, this parameter must be set to
CUSTOMER_MANAGED.For more information about converting between customer and service managed, see Managing permissions for data sources and notification channels. For more information about the roles and permissions that must be managed for customer managed workspaces, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PermissionType,PermissionType
-
stackSetName
WorkspaceDescription.Builder stackSetName(String stackSetName)
The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.
- Parameters:
stackSetName- The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
WorkspaceDescription.Builder status(String status)
The current status of the workspace.
- Parameters:
status- The current status of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkspaceStatus,WorkspaceStatus
-
status
WorkspaceDescription.Builder status(WorkspaceStatus status)
The current status of the workspace.
- Parameters:
status- The current status of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkspaceStatus,WorkspaceStatus
-
tags
WorkspaceDescription.Builder tags(Map<String,String> tags)
The list of tags associated with the workspace.
- Parameters:
tags- The list of tags associated with the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
WorkspaceDescription.Builder vpcConfiguration(VpcConfiguration vpcConfiguration)
The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).
- Parameters:
vpcConfiguration- The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default WorkspaceDescription.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)
The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).
This is a convenience method that creates an instance of theVpcConfiguration.Builderavoiding the need to create one manually viaVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(VpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfiguration(VpcConfiguration)
-
workspaceRoleArn
WorkspaceDescription.Builder workspaceRoleArn(String workspaceRoleArn)
The IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from. This role must already exist.
- Parameters:
workspaceRoleArn- The IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from. This role must already exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-