Interface WorkspaceDescription.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<WorkspaceDescription.Builder,,- WorkspaceDescription> - SdkBuilder<WorkspaceDescription.Builder,,- WorkspaceDescription> - SdkPojo
- Enclosing class:
- WorkspaceDescription
- 
Method SummaryModifier 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.Builderauthentication(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.BuildernetworkAccessControl(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.BuildervpcConfiguration(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
accountAccessTypeSpecifies 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 is- ORGANIZATION, the- workspaceOrganizationalUnitsparameter 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:
 
- 
accountAccessTypeSpecifies 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 is- ORGANIZATION, the- workspaceOrganizationalUnitsparameter 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:
 
- 
authenticationA 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.
 
- 
authenticationdefault 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 on- AuthenticationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
createdThe 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.
 
- 
dataSourcesWithStringsSpecifies 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 - permissionTypeis- SERVICE_MANAGED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourcesWithStringsSpecifies 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 - permissionTypeis- SERVICE_MANAGED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourcesSpecifies 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 - permissionTypeis- SERVICE_MANAGED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourcesSpecifies 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 - permissionTypeis- SERVICE_MANAGED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe 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.
 
- 
endpointThe 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.
 
- 
freeTrialConsumedSpecifies 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.
 
- 
freeTrialExpirationIf 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.
 
- 
grafanaTokenThe 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.
 
- 
grafanaVersionThe 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.
 
- 
idThe 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.
 
- 
licenseExpirationIf 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.
 
- 
licenseTypeSpecifies 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:
 
- 
licenseTypeSpecifies 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:
 
- 
modifiedThe 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.
 
- 
nameThe 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.
 
- 
networkAccessControlThe 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.
 
- 
networkAccessControldefault 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 on- NetworkAccessConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
notificationDestinationsWithStringsWorkspaceDescription.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.
 
- 
notificationDestinationsWithStringsWorkspaceDescription.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.
 
- 
notificationDestinationsWorkspaceDescription.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.
 
- 
notificationDestinationsWorkspaceDescription.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.
 
- 
organizationRoleNameThe 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.
 
- 
organizationalUnitsSpecifies 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.
 
- 
organizationalUnitsSpecifies 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.
 
- 
permissionTypeIf 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 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 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
permissionTypeIf 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 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 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stackSetNameThe 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.
 
- 
statusThe 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:
 
- 
statusThe 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:
 
- 
tagsThe 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.
 
- 
vpcConfigurationThe 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.
 
- 
vpcConfigurationdefault 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 on- VpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workspaceRoleArnThe 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.
 
 
-