Interface WorkspaceSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceSummary.Builder,WorkspaceSummary>,SdkBuilder<WorkspaceSummary.Builder,WorkspaceSummary>,SdkPojo
- Enclosing class:
- WorkspaceSummary
public static interface WorkspaceSummary.Builder extends SdkPojo, CopyableBuilder<WorkspaceSummary.Builder,WorkspaceSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default WorkspaceSummary.Builderauthentication(Consumer<AuthenticationSummary.Builder> authentication)A structure containing information about the authentication methods used in the workspace.WorkspaceSummary.Builderauthentication(AuthenticationSummary authentication)A structure containing information about the authentication methods used in the workspace.WorkspaceSummary.Buildercreated(Instant created)The date that the workspace was created.WorkspaceSummary.Builderdescription(String description)The customer-entered description of the workspace.WorkspaceSummary.Builderendpoint(String endpoint)The URL endpoint to use to access the Grafana console in the workspace.WorkspaceSummary.BuildergrafanaToken(String grafanaToken)The token that ties this workspace to a Grafana Labs account.WorkspaceSummary.BuildergrafanaVersion(String grafanaVersion)The Grafana version that the workspace is running.WorkspaceSummary.Builderid(String id)The unique ID of the workspace.WorkspaceSummary.BuilderlicenseType(String licenseType)Specifies whether this workspace has a full Grafana Enterprise license.WorkspaceSummary.BuilderlicenseType(LicenseType licenseType)Specifies whether this workspace has a full Grafana Enterprise license.WorkspaceSummary.Buildermodified(Instant modified)The most recent date that the workspace was modified.WorkspaceSummary.Buildername(String name)The name of the workspace.WorkspaceSummary.BuildernotificationDestinations(Collection<NotificationDestinationType> notificationDestinations)The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows Amazon Managed Grafana to use these channels.WorkspaceSummary.BuildernotificationDestinations(NotificationDestinationType... notificationDestinations)The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows Amazon Managed Grafana to use these channels.WorkspaceSummary.BuildernotificationDestinationsWithStrings(String... notificationDestinations)The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows Amazon Managed Grafana to use these channels.WorkspaceSummary.BuildernotificationDestinationsWithStrings(Collection<String> notificationDestinations)The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows Amazon Managed Grafana to use these channels.WorkspaceSummary.Builderstatus(String status)The current status of the workspace.WorkspaceSummary.Builderstatus(WorkspaceStatus status)The current status of the workspace.WorkspaceSummary.Buildertags(Map<String,String> tags)The list of tags associated with the workspace.-
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
-
authentication
WorkspaceSummary.Builder authentication(AuthenticationSummary authentication)
A structure containing information about the authentication methods used in the workspace.
- Parameters:
authentication- A structure containing information about the authentication methods used in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default WorkspaceSummary.Builder authentication(Consumer<AuthenticationSummary.Builder> authentication)
A structure containing information about the authentication methods used in the workspace.
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
WorkspaceSummary.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.
-
description
WorkspaceSummary.Builder description(String description)
The customer-entered description of the workspace.
- Parameters:
description- The customer-entered description of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
WorkspaceSummary.Builder endpoint(String endpoint)
The URL endpoint to use to access the Grafana console in the workspace.
- Parameters:
endpoint- The URL endpoint to use to access the Grafana console in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grafanaToken
WorkspaceSummary.Builder grafanaToken(String 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
WorkspaceSummary.Builder grafanaVersion(String grafanaVersion)
The Grafana version that the workspace is running.
- Parameters:
grafanaVersion- The Grafana version that the workspace is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
WorkspaceSummary.Builder id(String id)
The unique ID of the workspace.
- Parameters:
id- The unique ID of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseType
WorkspaceSummary.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
WorkspaceSummary.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
WorkspaceSummary.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
WorkspaceSummary.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.
-
notificationDestinationsWithStrings
WorkspaceSummary.Builder notificationDestinationsWithStrings(Collection<String> notificationDestinations)
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows 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, which allows Amazon Managed Grafana to use these channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationDestinationsWithStrings
WorkspaceSummary.Builder notificationDestinationsWithStrings(String... notificationDestinations)
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows 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, which allows Amazon Managed Grafana to use these channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationDestinations
WorkspaceSummary.Builder notificationDestinations(Collection<NotificationDestinationType> notificationDestinations)
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows 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, which allows Amazon Managed Grafana to use these channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationDestinations
WorkspaceSummary.Builder notificationDestinations(NotificationDestinationType... notificationDestinations)
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows 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, which allows Amazon Managed Grafana to use these channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
WorkspaceSummary.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
WorkspaceSummary.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
WorkspaceSummary.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.
-
-