Interface WorkspaceDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkspaceDescription.Builder,
,WorkspaceDescription> SdkBuilder<WorkspaceDescription.Builder,
,WorkspaceDescription> SdkPojo
- Enclosing class:
WorkspaceDescription
-
Method Summary
Modifier and TypeMethodDescriptionaccountAccessType
(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.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.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.authentication
(AuthenticationSummary authentication) A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.The date that the workspace was created.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.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.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.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.description
(String description) The user-defined description of the workspace.The URL that users can use to access the Grafana console in the workspace.freeTrialConsumed
(Boolean freeTrialConsumed) Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.freeTrialExpiration
(Instant freeTrialExpiration) If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.grafanaToken
(String grafanaToken) The token that ties this workspace to a Grafana Labs account.grafanaVersion
(String grafanaVersion) The version of Grafana supported in this workspace.The unique ID of this workspace.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.licenseType
(String licenseType) Specifies whether this workspace has a full Grafana Enterprise license.licenseType
(LicenseType licenseType) Specifies whether this workspace has a full Grafana Enterprise license.The most recent date that the workspace was modified.The name of the workspace.default WorkspaceDescription.Builder
networkAccessControl
(Consumer<NetworkAccessConfiguration.Builder> networkAccessControl) The configuration settings for network access to your workspace.networkAccessControl
(NetworkAccessConfiguration networkAccessControl) The configuration settings for network access to your workspace.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.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.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.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.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.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.organizationRoleName
(String organizationRoleName) The name of the IAM role that is used to access resources through Organizations.permissionType
(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.permissionType
(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.stackSetName
(String stackSetName) The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.The current status of the workspace.status
(WorkspaceStatus status) The current status of the workspace.The list of tags associated with the workspace.default WorkspaceDescription.Builder
vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).vpcConfiguration
(VpcConfiguration vpcConfiguration) The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).workspaceRoleArn
(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 Details
-
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
, theworkspaceOrganizationalUnits
parameter 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
, theworkspaceOrganizationalUnits
parameter 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
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
, theworkspaceOrganizationalUnits
parameter 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
, theworkspaceOrganizationalUnits
parameter 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:
-
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.Builder
avoiding the need to create one manually viaAuthenticationSummary.builder()
.When the
Consumer
completes,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:
-
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
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
permissionType
isSERVICE_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
permissionType
isSERVICE_MANAGED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourcesWithStrings
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
permissionType
isSERVICE_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
permissionType
isSERVICE_MANAGED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
permissionType
isSERVICE_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
permissionType
isSERVICE_MANAGED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
permissionType
isSERVICE_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
permissionType
isSERVICE_MANAGED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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
The token that ties this workspace to a Grafana Labs account. For more information, see Register with Grafana Labs.
- Parameters:
grafanaToken
- The token that ties this workspace to a Grafana Labs account. For more information, see Register with Grafana Labs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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
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:
-
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
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
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.Builder
avoiding the need to create one manually viaNetworkAccessConfiguration.builder()
.When the
Consumer
completes,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:
-
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
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
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
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
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
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:
-
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
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:
-
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:
-
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
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.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,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:
-
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.
-