@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceSummary extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains some information about one workspace in the account.
Constructor and Description |
---|
WorkspaceSummary() |
Modifier and Type | Method and Description |
---|---|
WorkspaceSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
WorkspaceSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
WorkspaceSummary |
clone() |
boolean |
equals(Object obj) |
AuthenticationSummary |
getAuthentication()
A structure containing information about the authentication methods used in the workspace.
|
Date |
getCreated()
The date that the workspace was created.
|
String |
getDescription()
The customer-entered description of the workspace.
|
String |
getEndpoint()
The URL endpoint to use to access the Grafana console in the workspace.
|
String |
getGrafanaVersion()
The Grafana version that the workspace is running.
|
String |
getId()
The unique ID of the workspace.
|
Date |
getModified()
The most recent date that the workspace was modified.
|
String |
getName()
The name of the workspace.
|
List<String> |
getNotificationDestinations()
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.
|
String |
getStatus()
The current status of the workspace.
|
Map<String,String> |
getTags()
The list of tags associated with the workspace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthentication(AuthenticationSummary authentication)
A structure containing information about the authentication methods used in the workspace.
|
void |
setCreated(Date created)
The date that the workspace was created.
|
void |
setDescription(String description)
The customer-entered description of the workspace.
|
void |
setEndpoint(String endpoint)
The URL endpoint to use to access the Grafana console in the workspace.
|
void |
setGrafanaVersion(String grafanaVersion)
The Grafana version that the workspace is running.
|
void |
setId(String id)
The unique ID of the workspace.
|
void |
setModified(Date modified)
The most recent date that the workspace was modified.
|
void |
setName(String name)
The name of the workspace.
|
void |
setNotificationDestinations(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.
|
void |
setStatus(String status)
The current status of the workspace.
|
void |
setTags(Map<String,String> tags)
The list of tags associated with the workspace.
|
String |
toString()
Returns a string representation of this object.
|
WorkspaceSummary |
withAuthentication(AuthenticationSummary authentication)
A structure containing information about the authentication methods used in the workspace.
|
WorkspaceSummary |
withCreated(Date created)
The date that the workspace was created.
|
WorkspaceSummary |
withDescription(String description)
The customer-entered description of the workspace.
|
WorkspaceSummary |
withEndpoint(String endpoint)
The URL endpoint to use to access the Grafana console in the workspace.
|
WorkspaceSummary |
withGrafanaVersion(String grafanaVersion)
The Grafana version that the workspace is running.
|
WorkspaceSummary |
withId(String id)
The unique ID of the workspace.
|
WorkspaceSummary |
withModified(Date modified)
The most recent date that the workspace was modified.
|
WorkspaceSummary |
withName(String name)
The name of the workspace.
|
WorkspaceSummary |
withNotificationDestinations(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 |
withNotificationDestinations(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 |
withNotificationDestinations(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 |
withStatus(String status)
The current status of the workspace.
|
WorkspaceSummary |
withStatus(WorkspaceStatus status)
The current status of the workspace.
|
WorkspaceSummary |
withTags(Map<String,String> tags)
The list of tags associated with the workspace.
|
public void setAuthentication(AuthenticationSummary authentication)
A structure containing information about the authentication methods used in the workspace.
authentication
- A structure containing information about the authentication methods used in the workspace.public AuthenticationSummary getAuthentication()
A structure containing information about the authentication methods used in the workspace.
public WorkspaceSummary withAuthentication(AuthenticationSummary authentication)
A structure containing information about the authentication methods used in the workspace.
authentication
- A structure containing information about the authentication methods used in the workspace.public void setCreated(Date created)
The date that the workspace was created.
created
- The date that the workspace was created.public Date getCreated()
The date that the workspace was created.
public WorkspaceSummary withCreated(Date created)
The date that the workspace was created.
created
- The date that the workspace was created.public void setDescription(String description)
The customer-entered description of the workspace.
description
- The customer-entered description of the workspace.public String getDescription()
The customer-entered description of the workspace.
public WorkspaceSummary withDescription(String description)
The customer-entered description of the workspace.
description
- The customer-entered description of the workspace.public void setEndpoint(String endpoint)
The URL endpoint to use to access the Grafana console in the workspace.
endpoint
- The URL endpoint to use to access the Grafana console in the workspace.public String getEndpoint()
The URL endpoint to use to access the Grafana console in the workspace.
public WorkspaceSummary withEndpoint(String endpoint)
The URL endpoint to use to access the Grafana console in the workspace.
endpoint
- The URL endpoint to use to access the Grafana console in the workspace.public void setGrafanaVersion(String grafanaVersion)
The Grafana version that the workspace is running.
grafanaVersion
- The Grafana version that the workspace is running.public String getGrafanaVersion()
The Grafana version that the workspace is running.
public WorkspaceSummary withGrafanaVersion(String grafanaVersion)
The Grafana version that the workspace is running.
grafanaVersion
- The Grafana version that the workspace is running.public void setId(String id)
The unique ID of the workspace.
id
- The unique ID of the workspace.public String getId()
The unique ID of the workspace.
public WorkspaceSummary withId(String id)
The unique ID of the workspace.
id
- The unique ID of the workspace.public void setModified(Date modified)
The most recent date that the workspace was modified.
modified
- The most recent date that the workspace was modified.public Date getModified()
The most recent date that the workspace was modified.
public WorkspaceSummary withModified(Date modified)
The most recent date that the workspace was modified.
modified
- The most recent date that the workspace was modified.public void setName(String name)
The name of the workspace.
name
- The name of the workspace.public String getName()
The name of the workspace.
public WorkspaceSummary withName(String name)
The name of the workspace.
name
- The name of the workspace.public List<String> getNotificationDestinations()
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.
NotificationDestinationType
public void setNotificationDestinations(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.
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.NotificationDestinationType
public WorkspaceSummary withNotificationDestinations(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.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationDestinations(java.util.Collection)
or
withNotificationDestinations(java.util.Collection)
if you want to override the existing values.
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.NotificationDestinationType
public WorkspaceSummary withNotificationDestinations(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.
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.NotificationDestinationType
public WorkspaceSummary withNotificationDestinations(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.
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.NotificationDestinationType
public void setStatus(String status)
The current status of the workspace.
status
- The current status of the workspace.WorkspaceStatus
public String getStatus()
The current status of the workspace.
WorkspaceStatus
public WorkspaceSummary withStatus(String status)
The current status of the workspace.
status
- The current status of the workspace.WorkspaceStatus
public WorkspaceSummary withStatus(WorkspaceStatus status)
The current status of the workspace.
status
- The current status of the workspace.WorkspaceStatus
public Map<String,String> getTags()
The list of tags associated with the workspace.
public void setTags(Map<String,String> tags)
The list of tags associated with the workspace.
tags
- The list of tags associated with the workspace.public WorkspaceSummary withTags(Map<String,String> tags)
The list of tags associated with the workspace.
tags
- The list of tags associated with the workspace.public WorkspaceSummary addTagsEntry(String key, String value)
public WorkspaceSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public WorkspaceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.