Class WorkspaceDescription
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<WorkspaceDescription.Builder,
WorkspaceDescription>
A structure containing information about an Amazon Managed Grafana workspace in your account.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.final String
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.final AuthenticationSummary
A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.static WorkspaceDescription.Builder
builder()
final Instant
created()
The date that the workspace was created.final List
<DataSourceType> 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.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.final String
The user-defined description of the workspace.final String
endpoint()
The URL that users can use to access the Grafana console in the workspace.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Boolean
Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.final Instant
If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final String
The token that ties this workspace to a Grafana Labs account.final String
The version of Grafana supported in this workspace.final boolean
For responses, this returns true if the service returned a value for the DataSources property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the NotificationDestinations property.final boolean
For responses, this returns true if the service returned a value for the OrganizationalUnits property.final boolean
hasTags()
For responses, this returns true if the service returned a value for the Tags property.final String
id()
The unique ID of this workspace.final Instant
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.final LicenseType
Specifies whether this workspace has a full Grafana Enterprise license.final String
Specifies whether this workspace has a full Grafana Enterprise license.final Instant
modified()
The most recent date that the workspace was modified.final String
name()
The name of the workspace.The configuration settings for network access to your workspace.final List
<NotificationDestinationType> 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.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.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.final String
The name of the IAM role that is used to access resources through Organizations.final 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.final String
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.static Class
<? extends WorkspaceDescription.Builder> final String
The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.final WorkspaceStatus
status()
The current status of the workspace.final String
The current status of the workspace.tags()
The list of tags associated with the workspace.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final VpcConfiguration
The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).final String
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.ToCopyableBuilder
copy
-
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.If the service returns an enum value that is not available in the current SDK version,
accountAccessType
will returnAccountAccessType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaccountAccessTypeAsString()
.- Returns:
- 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. - See Also:
-
accountAccessTypeAsString
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.If the service returns an enum value that is not available in the current SDK version,
accountAccessType
will returnAccountAccessType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaccountAccessTypeAsString()
.- Returns:
- 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. - See Also:
-
authentication
A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
- Returns:
- A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
-
created
The date that the workspace was created.
- Returns:
- The date that the workspace was created.
-
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
.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDataSources()
method.- Returns:
- 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
.
-
hasDataSources
public final boolean hasDataSources()For responses, this returns true if the service returned a value for the DataSources property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
dataSourcesAsStrings
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
.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDataSources()
method.- Returns:
- 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
.
-
description
The user-defined description of the workspace.
- Returns:
- The user-defined description of the workspace.
-
endpoint
The URL that users can use to access the Grafana console in the workspace.
- Returns:
- The URL that users can use to access the Grafana console in the workspace.
-
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:
- 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.
-
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:
- 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.
-
grafanaToken
The token that ties this workspace to a Grafana Labs account. For more information, see Link your account with Grafana Labs.
- Returns:
- The token that ties this workspace to a Grafana Labs account. For more information, see Link your account with Grafana Labs.
-
grafanaVersion
The version of Grafana supported in this workspace.
- Returns:
- The version of Grafana supported in this workspace.
-
id
-
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:
- 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.
-
licenseType
Specifies whether this workspace has a full Grafana Enterprise license.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
If the service returns an enum value that is not available in the current SDK version,
licenseType
will returnLicenseType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlicenseTypeAsString()
.- Returns:
- Specifies whether this workspace has a full Grafana Enterprise license.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- See Also:
-
licenseTypeAsString
Specifies whether this workspace has a full Grafana Enterprise license.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
If the service returns an enum value that is not available in the current SDK version,
licenseType
will returnLicenseType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlicenseTypeAsString()
.- Returns:
- Specifies whether this workspace has a full Grafana Enterprise license.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- See Also:
-
modified
The most recent date that the workspace was modified.
- Returns:
- The most recent date that the workspace was modified.
-
name
-
networkAccessControl
The configuration settings for network access to your workspace.
- Returns:
- The configuration settings for network access to your workspace.
-
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasNotificationDestinations()
method.- Returns:
- 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.
-
hasNotificationDestinations
public final boolean hasNotificationDestinations()For responses, this returns true if the service returned a value for the NotificationDestinations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
notificationDestinationsAsStrings
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasNotificationDestinations()
method.- Returns:
- 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.
-
organizationRoleName
The name of the IAM role that is used to access resources through Organizations.
- Returns:
- The name of the IAM role that is used to access resources through Organizations.
-
hasOrganizationalUnits
public final boolean hasOrganizationalUnits()For responses, this returns true if the service returned a value for the OrganizationalUnits property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOrganizationalUnits()
method.- Returns:
- 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.
-
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
If the service returns an enum value that is not available in the current SDK version,
permissionType
will returnPermissionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompermissionTypeAsString()
.- Returns:
- 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
- See Also:
-
permissionTypeAsString
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
If the service returns an enum value that is not available in the current SDK version,
permissionType
will returnPermissionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompermissionTypeAsString()
.- Returns:
- 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
- See Also:
-
stackSetName
The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.
- Returns:
- The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.
-
status
The current status of the workspace.
If the service returns an enum value that is not available in the current SDK version,
status
will returnWorkspaceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current status of the workspace.
- See Also:
-
statusAsString
The current status of the workspace.
If the service returns an enum value that is not available in the current SDK version,
status
will returnWorkspaceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current status of the workspace.
- See Also:
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tags
The list of tags associated with the workspace.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()
method.- Returns:
- The list of tags associated with the workspace.
-
vpcConfiguration
The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).
- Returns:
- The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).
-
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:
- The IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from. This role must already exist.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<WorkspaceDescription.Builder,
WorkspaceDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-