All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.managedgrafana.model.CreateWorkspaceRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Managed Grafana module holds the client classes that are used for communicating with Amazon Managed Grafana Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.managedgrafana.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateWorkspaceRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* 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 * you specify ORGANIZATION, you must specify which organizational units the workspace can access in * the workspaceOrganizationalUnits parameter. *

*/ private String accountAccessType; /** *

* Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to * authenticate users for using the Grafana console within a workspace. For more information, see User authentication in * Amazon Managed Grafana. *

*/ private java.util.List authenticationProviders; /** *

* A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. *

*/ private String clientToken; /** *

* The configuration string for the workspace that you create. For more information about the format and * configuration options available, see Working in your Grafana * workspace. *

*/ private String configuration; /** *

* Specifies the version of Grafana to support in the new workspace. *

*

* To get a list of supported version, use the ListVersions operation. *

*/ private String grafanaVersion; /** *

* Configuration for network access to your workspace. *

*

* When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. * Standard Grafana authentication and authorization will still be required. *

*

* If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. Standard * Grafana authentication and authorization will still be required. *

*/ private NetworkAccessConfiguration networkAccessControl; /** *

* The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources * and notification channels in other accounts in an organization. *

*/ private String organizationRoleName; /** *

* When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you * must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web Services data * sources and notification channels. *

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace to use * when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported only in * the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or Amazon * Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed Grafana * permissions and policies for Amazon Web Services data sources and notification channels. *

*/ private String permissionType; /** *

* The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace. *

*/ private String stackSetName; /** *

* The list of tags associated with the workspace. *

*/ private java.util.Map tags; /** *

* The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. *

* *

* Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2). *

*
*/ private VpcConfiguration vpcConfiguration; /** *

* This parameter is for internal use only, and should not be used. *

*/ private java.util.List workspaceDataSources; /** *

* A description for the workspace. This is used only to help you identify this workspace. *

*

* Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$ *

*/ private String workspaceDescription; /** *

* The name for the workspace. It does not have to be unique. *

*/ private String workspaceName; /** *

* Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these * data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed * Grafana to use these channels. *

*/ private java.util.List workspaceNotificationDestinations; /** *

* 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. *

*/ private java.util.List workspaceOrganizationalUnits; /** *

* Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace will view * data from, including both data sources and notification channels. You are responsible for managing the * permissions for this role as new data sources or notification channels are added. *

*/ private String workspaceRoleArn; /** *

* 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 * you specify ORGANIZATION, you must specify which organizational units the workspace can access in * the workspaceOrganizationalUnits parameter. *

* * @param 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 you specify ORGANIZATION, you must specify which organizational units the * workspace can access in the workspaceOrganizationalUnits parameter. * @see AccountAccessType */ public void setAccountAccessType(String accountAccessType) { this.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. If * you specify ORGANIZATION, you must specify which organizational units the workspace can access in * the workspaceOrganizationalUnits parameter. *

* * @return 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 you specify ORGANIZATION, you must specify which organizational units the * workspace can access in the workspaceOrganizationalUnits parameter. * @see AccountAccessType */ public String getAccountAccessType() { return this.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 * you specify ORGANIZATION, you must specify which organizational units the workspace can access in * the workspaceOrganizationalUnits parameter. *

* * @param 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 you specify ORGANIZATION, you must specify which organizational units the * workspace can access in the workspaceOrganizationalUnits parameter. * @return Returns a reference to this object so that method calls can be chained together. * @see AccountAccessType */ public CreateWorkspaceRequest withAccountAccessType(String accountAccessType) { setAccountAccessType(accountAccessType); return this; } /** *

* 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 * you specify ORGANIZATION, you must specify which organizational units the workspace can access in * the workspaceOrganizationalUnits parameter. *

* * @param 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 you specify ORGANIZATION, you must specify which organizational units the * workspace can access in the workspaceOrganizationalUnits parameter. * @return Returns a reference to this object so that method calls can be chained together. * @see AccountAccessType */ public CreateWorkspaceRequest withAccountAccessType(AccountAccessType accountAccessType) { this.accountAccessType = accountAccessType.toString(); return this; } /** *

* Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to * authenticate users for using the Grafana console within a workspace. For more information, see User authentication in * Amazon Managed Grafana. *

* * @return Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or * both to authenticate users for using the Grafana console within a workspace. For more information, see User * authentication in Amazon Managed Grafana. * @see AuthenticationProviderTypes */ public java.util.List getAuthenticationProviders() { return authenticationProviders; } /** *

* Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to * authenticate users for using the Grafana console within a workspace. For more information, see User authentication in * Amazon Managed Grafana. *

* * @param authenticationProviders * Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both * to authenticate users for using the Grafana console within a workspace. For more information, see User authentication * in Amazon Managed Grafana. * @see AuthenticationProviderTypes */ public void setAuthenticationProviders(java.util.Collection authenticationProviders) { if (authenticationProviders == null) { this.authenticationProviders = null; return; } this.authenticationProviders = new java.util.ArrayList(authenticationProviders); } /** *

* Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to * authenticate users for using the Grafana console within a workspace. For more information, see User authentication in * Amazon Managed Grafana. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAuthenticationProviders(java.util.Collection)} or * {@link #withAuthenticationProviders(java.util.Collection)} if you want to override the existing values. *

* * @param authenticationProviders * Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both * to authenticate users for using the Grafana console within a workspace. For more information, see User authentication * in Amazon Managed Grafana. * @return Returns a reference to this object so that method calls can be chained together. * @see AuthenticationProviderTypes */ public CreateWorkspaceRequest withAuthenticationProviders(String... authenticationProviders) { if (this.authenticationProviders == null) { setAuthenticationProviders(new java.util.ArrayList(authenticationProviders.length)); } for (String ele : authenticationProviders) { this.authenticationProviders.add(ele); } return this; } /** *

* Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to * authenticate users for using the Grafana console within a workspace. For more information, see User authentication in * Amazon Managed Grafana. *

* * @param authenticationProviders * Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both * to authenticate users for using the Grafana console within a workspace. For more information, see User authentication * in Amazon Managed Grafana. * @return Returns a reference to this object so that method calls can be chained together. * @see AuthenticationProviderTypes */ public CreateWorkspaceRequest withAuthenticationProviders(java.util.Collection authenticationProviders) { setAuthenticationProviders(authenticationProviders); return this; } /** *

* Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to * authenticate users for using the Grafana console within a workspace. For more information, see User authentication in * Amazon Managed Grafana. *

* * @param authenticationProviders * Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both * to authenticate users for using the Grafana console within a workspace. For more information, see User authentication * in Amazon Managed Grafana. * @return Returns a reference to this object so that method calls can be chained together. * @see AuthenticationProviderTypes */ public CreateWorkspaceRequest withAuthenticationProviders(AuthenticationProviderTypes... authenticationProviders) { java.util.ArrayList authenticationProvidersCopy = new java.util.ArrayList(authenticationProviders.length); for (AuthenticationProviderTypes value : authenticationProviders) { authenticationProvidersCopy.add(value.toString()); } if (getAuthenticationProviders() == null) { setAuthenticationProviders(authenticationProvidersCopy); } else { getAuthenticationProviders().addAll(authenticationProvidersCopy); } return this; } /** *

* A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. *

* * @param clientToken * A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** *

* A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. *

* * @return A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. */ public String getClientToken() { return this.clientToken; } /** *

* A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. *

* * @param clientToken * A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** *

* The configuration string for the workspace that you create. For more information about the format and * configuration options available, see Working in your Grafana * workspace. *

*

* This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *

*

* The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. * Users of the SDK should not perform Base64 encoding on this field. *

* * @param configuration * The configuration string for the workspace that you create. For more information about the format and * configuration options available, see Working in your * Grafana workspace. */ public void setConfiguration(String configuration) { this.configuration = configuration; } /** *

* The configuration string for the workspace that you create. For more information about the format and * configuration options available, see Working in your Grafana * workspace. *

*

* This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *

* * @return The configuration string for the workspace that you create. For more information about the format and * configuration options available, see Working in your * Grafana workspace. */ public String getConfiguration() { return this.configuration; } /** *

* The configuration string for the workspace that you create. For more information about the format and * configuration options available, see Working in your Grafana * workspace. *

*

* This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *

*

* The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. * Users of the SDK should not perform Base64 encoding on this field. *

* * @param configuration * The configuration string for the workspace that you create. For more information about the format and * configuration options available, see Working in your * Grafana workspace. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withConfiguration(String configuration) { setConfiguration(configuration); return this; } /** *

* Specifies the version of Grafana to support in the new workspace. *

*

* To get a list of supported version, use the ListVersions operation. *

* * @param grafanaVersion * Specifies the version of Grafana to support in the new workspace.

*

* To get a list of supported version, use the ListVersions operation. */ public void setGrafanaVersion(String grafanaVersion) { this.grafanaVersion = grafanaVersion; } /** *

* Specifies the version of Grafana to support in the new workspace. *

*

* To get a list of supported version, use the ListVersions operation. *

* * @return Specifies the version of Grafana to support in the new workspace.

*

* To get a list of supported version, use the ListVersions operation. */ public String getGrafanaVersion() { return this.grafanaVersion; } /** *

* Specifies the version of Grafana to support in the new workspace. *

*

* To get a list of supported version, use the ListVersions operation. *

* * @param grafanaVersion * Specifies the version of Grafana to support in the new workspace.

*

* To get a list of supported version, use the ListVersions operation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withGrafanaVersion(String grafanaVersion) { setGrafanaVersion(grafanaVersion); return this; } /** *

* Configuration for network access to your workspace. *

*

* When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. * Standard Grafana authentication and authorization will still be required. *

*

* If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. Standard * Grafana authentication and authorization will still be required. *

* * @param networkAccessControl * Configuration for network access to your workspace.

*

* When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. * Standard Grafana authentication and authorization will still be required. *

*

* If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. * Standard Grafana authentication and authorization will still be required. */ public void setNetworkAccessControl(NetworkAccessConfiguration networkAccessControl) { this.networkAccessControl = networkAccessControl; } /** *

* Configuration for network access to your workspace. *

*

* When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. * Standard Grafana authentication and authorization will still be required. *

*

* If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. Standard * Grafana authentication and authorization will still be required. *

* * @return Configuration for network access to your workspace.

*

* When this is configured, only listed IP addresses and VPC endpoints will be able to access your * workspace. Standard Grafana authentication and authorization will still be required. *

*

* If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. * Standard Grafana authentication and authorization will still be required. */ public NetworkAccessConfiguration getNetworkAccessControl() { return this.networkAccessControl; } /** *

* Configuration for network access to your workspace. *

*

* When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. * Standard Grafana authentication and authorization will still be required. *

*

* If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. Standard * Grafana authentication and authorization will still be required. *

* * @param networkAccessControl * Configuration for network access to your workspace.

*

* When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. * Standard Grafana authentication and authorization will still be required. *

*

* If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. * Standard Grafana authentication and authorization will still be required. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withNetworkAccessControl(NetworkAccessConfiguration networkAccessControl) { setNetworkAccessControl(networkAccessControl); return this; } /** *

* The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources * and notification channels in other accounts in an organization. *

* * @param organizationRoleName * The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data * sources and notification channels in other accounts in an organization. */ public void setOrganizationRoleName(String organizationRoleName) { this.organizationRoleName = organizationRoleName; } /** *

* The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources * and notification channels in other accounts in an organization. *

* * @return The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data * sources and notification channels in other accounts in an organization. */ public String getOrganizationRoleName() { return this.organizationRoleName; } /** *

* The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources * and notification channels in other accounts in an organization. *

* * @param organizationRoleName * The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data * sources and notification channels in other accounts in an organization. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withOrganizationRoleName(String organizationRoleName) { setOrganizationRoleName(organizationRoleName); return this; } /** *

* When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you * must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web Services data * sources and notification channels. *

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace to use * when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported only in * the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or Amazon * Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed Grafana * permissions and policies for Amazon Web Services data sources and notification channels. *

* * @param permissionType * When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, * you must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web * Services data sources and notification channels.

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace to * use when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported * only in the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or * Amazon Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed * Grafana permissions and policies for Amazon Web Services data sources and notification channels. * @see PermissionType */ public void setPermissionType(String permissionType) { this.permissionType = permissionType; } /** *

* When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you * must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web Services data * sources and notification channels. *

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace to use * when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported only in * the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or Amazon * Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed Grafana * permissions and policies for Amazon Web Services data sources and notification channels. *

* * @return When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, * you must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web * Services data sources and notification channels.

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace * to use when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported * only in the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or * Amazon Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed * Grafana permissions and policies for Amazon Web Services data sources and notification channels. * @see PermissionType */ public String getPermissionType() { return this.permissionType; } /** *

* When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you * must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web Services data * sources and notification channels. *

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace to use * when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported only in * the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or Amazon * Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed Grafana * permissions and policies for Amazon Web Services data sources and notification channels. *

* * @param permissionType * When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, * you must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web * Services data sources and notification channels.

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace to * use when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported * only in the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or * Amazon Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed * Grafana permissions and policies for Amazon Web Services data sources and notification channels. * @return Returns a reference to this object so that method calls can be chained together. * @see PermissionType */ public CreateWorkspaceRequest withPermissionType(String permissionType) { setPermissionType(permissionType); return this; } /** *

* When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you * must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web Services data * sources and notification channels. *

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace to use * when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported only in * the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or Amazon * Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed Grafana * permissions and policies for Amazon Web Services data sources and notification channels. *

* * @param permissionType * When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, * you must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web * Services data sources and notification channels.

*

* You must also specify a workspaceRoleArn for a role that you will manage for the workspace to * use when accessing those datasources and notification channels. *

*

* The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported * only in the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED. *

* *

* Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or * Amazon Web Services CloudFormation. *

*
*

* For more information, see Amazon Managed * Grafana permissions and policies for Amazon Web Services data sources and notification channels. * @return Returns a reference to this object so that method calls can be chained together. * @see PermissionType */ public CreateWorkspaceRequest withPermissionType(PermissionType permissionType) { this.permissionType = permissionType.toString(); return this; } /** *

* The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace. *

* * @param stackSetName * The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace. */ public void setStackSetName(String stackSetName) { this.stackSetName = stackSetName; } /** *

* The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace. *

* * @return The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace. */ public String getStackSetName() { return this.stackSetName; } /** *

* The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace. *

* * @param stackSetName * The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withStackSetName(String stackSetName) { setStackSetName(stackSetName); return this; } /** *

* The list of tags associated with the workspace. *

* * @return The list of tags associated with the workspace. */ public java.util.Map getTags() { return tags; } /** *

* The list of tags associated with the workspace. *

* * @param tags * The list of tags associated with the workspace. */ public void setTags(java.util.Map tags) { this.tags = tags; } /** *

* The list of tags associated with the workspace. *

* * @param tags * The list of tags associated with the workspace. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withTags(java.util.Map tags) { setTags(tags); return this; } /** * Add a single Tags entry * * @see CreateWorkspaceRequest#withTags * @returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest addTagsEntry(String key, String value) { if (null == this.tags) { this.tags = new java.util.HashMap(); } if (this.tags.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.tags.put(key, value); return this; } /** * Removes all the entries added into Tags. * * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest clearTagsEntries() { this.tags = null; return this; } /** *

* The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. *

* *

* Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2). *

*
* * @param vpcConfiguration * The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to * connect to.

*

* Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2). *

*/ public void setVpcConfiguration(VpcConfiguration vpcConfiguration) { this.vpcConfiguration = vpcConfiguration; } /** *

* The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. *

* *

* Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2). *

*
* * @return The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to * connect to.

*

* Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2). *

*/ public VpcConfiguration getVpcConfiguration() { return this.vpcConfiguration; } /** *

* The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. *

* *

* Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2). *

*
* * @param vpcConfiguration * The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to * connect to.

*

* Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2). *

* @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withVpcConfiguration(VpcConfiguration vpcConfiguration) { setVpcConfiguration(vpcConfiguration); return this; } /** *

* This parameter is for internal use only, and should not be used. *

* * @return This parameter is for internal use only, and should not be used. * @see DataSourceType */ public java.util.List getWorkspaceDataSources() { return workspaceDataSources; } /** *

* This parameter is for internal use only, and should not be used. *

* * @param workspaceDataSources * This parameter is for internal use only, and should not be used. * @see DataSourceType */ public void setWorkspaceDataSources(java.util.Collection workspaceDataSources) { if (workspaceDataSources == null) { this.workspaceDataSources = null; return; } this.workspaceDataSources = new java.util.ArrayList(workspaceDataSources); } /** *

* This parameter is for internal use only, and should not be used. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setWorkspaceDataSources(java.util.Collection)} or {@link #withWorkspaceDataSources(java.util.Collection)} * if you want to override the existing values. *

* * @param workspaceDataSources * This parameter is for internal use only, and should not be used. * @return Returns a reference to this object so that method calls can be chained together. * @see DataSourceType */ public CreateWorkspaceRequest withWorkspaceDataSources(String... workspaceDataSources) { if (this.workspaceDataSources == null) { setWorkspaceDataSources(new java.util.ArrayList(workspaceDataSources.length)); } for (String ele : workspaceDataSources) { this.workspaceDataSources.add(ele); } return this; } /** *

* This parameter is for internal use only, and should not be used. *

* * @param workspaceDataSources * This parameter is for internal use only, and should not be used. * @return Returns a reference to this object so that method calls can be chained together. * @see DataSourceType */ public CreateWorkspaceRequest withWorkspaceDataSources(java.util.Collection workspaceDataSources) { setWorkspaceDataSources(workspaceDataSources); return this; } /** *

* This parameter is for internal use only, and should not be used. *

* * @param workspaceDataSources * This parameter is for internal use only, and should not be used. * @return Returns a reference to this object so that method calls can be chained together. * @see DataSourceType */ public CreateWorkspaceRequest withWorkspaceDataSources(DataSourceType... workspaceDataSources) { java.util.ArrayList workspaceDataSourcesCopy = new java.util.ArrayList(workspaceDataSources.length); for (DataSourceType value : workspaceDataSources) { workspaceDataSourcesCopy.add(value.toString()); } if (getWorkspaceDataSources() == null) { setWorkspaceDataSources(workspaceDataSourcesCopy); } else { getWorkspaceDataSources().addAll(workspaceDataSourcesCopy); } return this; } /** *

* A description for the workspace. This is used only to help you identify this workspace. *

*

* Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$ *

* * @param workspaceDescription * A description for the workspace. This is used only to help you identify this workspace.

*

* Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$ */ public void setWorkspaceDescription(String workspaceDescription) { this.workspaceDescription = workspaceDescription; } /** *

* A description for the workspace. This is used only to help you identify this workspace. *

*

* Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$ *

* * @return A description for the workspace. This is used only to help you identify this workspace.

*

* Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$ */ public String getWorkspaceDescription() { return this.workspaceDescription; } /** *

* A description for the workspace. This is used only to help you identify this workspace. *

*

* Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$ *

* * @param workspaceDescription * A description for the workspace. This is used only to help you identify this workspace.

*

* Pattern: ^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$ * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withWorkspaceDescription(String workspaceDescription) { setWorkspaceDescription(workspaceDescription); return this; } /** *

* The name for the workspace. It does not have to be unique. *

* * @param workspaceName * The name for the workspace. It does not have to be unique. */ public void setWorkspaceName(String workspaceName) { this.workspaceName = workspaceName; } /** *

* The name for the workspace. It does not have to be unique. *

* * @return The name for the workspace. It does not have to be unique. */ public String getWorkspaceName() { return this.workspaceName; } /** *

* The name for the workspace. It does not have to be unique. *

* * @param workspaceName * The name for the workspace. It does not have to be unique. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withWorkspaceName(String workspaceName) { setWorkspaceName(workspaceName); return this; } /** *

* Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these * data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed * Grafana to use these channels. *

* * @return Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying * these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow * Amazon Managed Grafana to use these channels. * @see NotificationDestinationType */ public java.util.List getWorkspaceNotificationDestinations() { return workspaceNotificationDestinations; } /** *

* Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these * data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed * Grafana to use these channels. *

* * @param workspaceNotificationDestinations * Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying * these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow * Amazon Managed Grafana to use these channels. * @see NotificationDestinationType */ public void setWorkspaceNotificationDestinations(java.util.Collection workspaceNotificationDestinations) { if (workspaceNotificationDestinations == null) { this.workspaceNotificationDestinations = null; return; } this.workspaceNotificationDestinations = new java.util.ArrayList(workspaceNotificationDestinations); } /** *

* Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these * data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed * Grafana to use these channels. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setWorkspaceNotificationDestinations(java.util.Collection)} or * {@link #withWorkspaceNotificationDestinations(java.util.Collection)} if you want to override the existing values. *

* * @param workspaceNotificationDestinations * Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying * these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow * Amazon Managed Grafana to use these channels. * @return Returns a reference to this object so that method calls can be chained together. * @see NotificationDestinationType */ public CreateWorkspaceRequest withWorkspaceNotificationDestinations(String... workspaceNotificationDestinations) { if (this.workspaceNotificationDestinations == null) { setWorkspaceNotificationDestinations(new java.util.ArrayList(workspaceNotificationDestinations.length)); } for (String ele : workspaceNotificationDestinations) { this.workspaceNotificationDestinations.add(ele); } return this; } /** *

* Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these * data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed * Grafana to use these channels. *

* * @param workspaceNotificationDestinations * Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying * these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow * Amazon Managed Grafana to use these channels. * @return Returns a reference to this object so that method calls can be chained together. * @see NotificationDestinationType */ public CreateWorkspaceRequest withWorkspaceNotificationDestinations(java.util.Collection workspaceNotificationDestinations) { setWorkspaceNotificationDestinations(workspaceNotificationDestinations); return this; } /** *

* Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these * data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed * Grafana to use these channels. *

* * @param workspaceNotificationDestinations * Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying * these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow * Amazon Managed Grafana to use these channels. * @return Returns a reference to this object so that method calls can be chained together. * @see NotificationDestinationType */ public CreateWorkspaceRequest withWorkspaceNotificationDestinations(NotificationDestinationType... workspaceNotificationDestinations) { java.util.ArrayList workspaceNotificationDestinationsCopy = new java.util.ArrayList(workspaceNotificationDestinations.length); for (NotificationDestinationType value : workspaceNotificationDestinations) { workspaceNotificationDestinationsCopy.add(value.toString()); } if (getWorkspaceNotificationDestinations() == null) { setWorkspaceNotificationDestinations(workspaceNotificationDestinationsCopy); } else { getWorkspaceNotificationDestinations().addAll(workspaceNotificationDestinationsCopy); } return this; } /** *

* 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. *

* * @return 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. */ public java.util.List getWorkspaceOrganizationalUnits() { return workspaceOrganizationalUnits; } /** *

* 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. *

* * @param workspaceOrganizationalUnits * 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. */ public void setWorkspaceOrganizationalUnits(java.util.Collection workspaceOrganizationalUnits) { if (workspaceOrganizationalUnits == null) { this.workspaceOrganizationalUnits = null; return; } this.workspaceOrganizationalUnits = new java.util.ArrayList(workspaceOrganizationalUnits); } /** *

* 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. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setWorkspaceOrganizationalUnits(java.util.Collection)} or * {@link #withWorkspaceOrganizationalUnits(java.util.Collection)} if you want to override the existing values. *

* * @param workspaceOrganizationalUnits * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withWorkspaceOrganizationalUnits(String... workspaceOrganizationalUnits) { if (this.workspaceOrganizationalUnits == null) { setWorkspaceOrganizationalUnits(new java.util.ArrayList(workspaceOrganizationalUnits.length)); } for (String ele : workspaceOrganizationalUnits) { this.workspaceOrganizationalUnits.add(ele); } return this; } /** *

* 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. *

* * @param workspaceOrganizationalUnits * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withWorkspaceOrganizationalUnits(java.util.Collection workspaceOrganizationalUnits) { setWorkspaceOrganizationalUnits(workspaceOrganizationalUnits); return this; } /** *

* Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace will view * data from, including both data sources and notification channels. You are responsible for managing the * permissions for this role as new data sources or notification channels are added. *

* * @param workspaceRoleArn * Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace * will view data from, including both data sources and notification channels. You are responsible for * managing the permissions for this role as new data sources or notification channels are added. */ public void setWorkspaceRoleArn(String workspaceRoleArn) { this.workspaceRoleArn = workspaceRoleArn; } /** *

* Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace will view * data from, including both data sources and notification channels. You are responsible for managing the * permissions for this role as new data sources or notification channels are added. *

* * @return Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace * will view data from, including both data sources and notification channels. You are responsible for * managing the permissions for this role as new data sources or notification channels are added. */ public String getWorkspaceRoleArn() { return this.workspaceRoleArn; } /** *

* Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace will view * data from, including both data sources and notification channels. You are responsible for managing the * permissions for this role as new data sources or notification channels are added. *

* * @param workspaceRoleArn * Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace * will view data from, including both data sources and notification channels. You are responsible for * managing the permissions for this role as new data sources or notification channels are added. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorkspaceRequest withWorkspaceRoleArn(String workspaceRoleArn) { setWorkspaceRoleArn(workspaceRoleArn); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAccountAccessType() != null) sb.append("AccountAccessType: ").append(getAccountAccessType()).append(","); if (getAuthenticationProviders() != null) sb.append("AuthenticationProviders: ").append(getAuthenticationProviders()).append(","); if (getClientToken() != null) sb.append("ClientToken: ").append(getClientToken()).append(","); if (getConfiguration() != null) sb.append("Configuration: ").append(getConfiguration()).append(","); if (getGrafanaVersion() != null) sb.append("GrafanaVersion: ").append(getGrafanaVersion()).append(","); if (getNetworkAccessControl() != null) sb.append("NetworkAccessControl: ").append(getNetworkAccessControl()).append(","); if (getOrganizationRoleName() != null) sb.append("OrganizationRoleName: ").append("***Sensitive Data Redacted***").append(","); if (getPermissionType() != null) sb.append("PermissionType: ").append(getPermissionType()).append(","); if (getStackSetName() != null) sb.append("StackSetName: ").append(getStackSetName()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getVpcConfiguration() != null) sb.append("VpcConfiguration: ").append(getVpcConfiguration()).append(","); if (getWorkspaceDataSources() != null) sb.append("WorkspaceDataSources: ").append(getWorkspaceDataSources()).append(","); if (getWorkspaceDescription() != null) sb.append("WorkspaceDescription: ").append("***Sensitive Data Redacted***").append(","); if (getWorkspaceName() != null) sb.append("WorkspaceName: ").append("***Sensitive Data Redacted***").append(","); if (getWorkspaceNotificationDestinations() != null) sb.append("WorkspaceNotificationDestinations: ").append(getWorkspaceNotificationDestinations()).append(","); if (getWorkspaceOrganizationalUnits() != null) sb.append("WorkspaceOrganizationalUnits: ").append("***Sensitive Data Redacted***").append(","); if (getWorkspaceRoleArn() != null) sb.append("WorkspaceRoleArn: ").append("***Sensitive Data Redacted***"); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateWorkspaceRequest == false) return false; CreateWorkspaceRequest other = (CreateWorkspaceRequest) obj; if (other.getAccountAccessType() == null ^ this.getAccountAccessType() == null) return false; if (other.getAccountAccessType() != null && other.getAccountAccessType().equals(this.getAccountAccessType()) == false) return false; if (other.getAuthenticationProviders() == null ^ this.getAuthenticationProviders() == null) return false; if (other.getAuthenticationProviders() != null && other.getAuthenticationProviders().equals(this.getAuthenticationProviders()) == false) return false; if (other.getClientToken() == null ^ this.getClientToken() == null) return false; if (other.getClientToken() != null && other.getClientToken().equals(this.getClientToken()) == false) return false; if (other.getConfiguration() == null ^ this.getConfiguration() == null) return false; if (other.getConfiguration() != null && other.getConfiguration().equals(this.getConfiguration()) == false) return false; if (other.getGrafanaVersion() == null ^ this.getGrafanaVersion() == null) return false; if (other.getGrafanaVersion() != null && other.getGrafanaVersion().equals(this.getGrafanaVersion()) == false) return false; if (other.getNetworkAccessControl() == null ^ this.getNetworkAccessControl() == null) return false; if (other.getNetworkAccessControl() != null && other.getNetworkAccessControl().equals(this.getNetworkAccessControl()) == false) return false; if (other.getOrganizationRoleName() == null ^ this.getOrganizationRoleName() == null) return false; if (other.getOrganizationRoleName() != null && other.getOrganizationRoleName().equals(this.getOrganizationRoleName()) == false) return false; if (other.getPermissionType() == null ^ this.getPermissionType() == null) return false; if (other.getPermissionType() != null && other.getPermissionType().equals(this.getPermissionType()) == false) return false; if (other.getStackSetName() == null ^ this.getStackSetName() == null) return false; if (other.getStackSetName() != null && other.getStackSetName().equals(this.getStackSetName()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getVpcConfiguration() == null ^ this.getVpcConfiguration() == null) return false; if (other.getVpcConfiguration() != null && other.getVpcConfiguration().equals(this.getVpcConfiguration()) == false) return false; if (other.getWorkspaceDataSources() == null ^ this.getWorkspaceDataSources() == null) return false; if (other.getWorkspaceDataSources() != null && other.getWorkspaceDataSources().equals(this.getWorkspaceDataSources()) == false) return false; if (other.getWorkspaceDescription() == null ^ this.getWorkspaceDescription() == null) return false; if (other.getWorkspaceDescription() != null && other.getWorkspaceDescription().equals(this.getWorkspaceDescription()) == false) return false; if (other.getWorkspaceName() == null ^ this.getWorkspaceName() == null) return false; if (other.getWorkspaceName() != null && other.getWorkspaceName().equals(this.getWorkspaceName()) == false) return false; if (other.getWorkspaceNotificationDestinations() == null ^ this.getWorkspaceNotificationDestinations() == null) return false; if (other.getWorkspaceNotificationDestinations() != null && other.getWorkspaceNotificationDestinations().equals(this.getWorkspaceNotificationDestinations()) == false) return false; if (other.getWorkspaceOrganizationalUnits() == null ^ this.getWorkspaceOrganizationalUnits() == null) return false; if (other.getWorkspaceOrganizationalUnits() != null && other.getWorkspaceOrganizationalUnits().equals(this.getWorkspaceOrganizationalUnits()) == false) return false; if (other.getWorkspaceRoleArn() == null ^ this.getWorkspaceRoleArn() == null) return false; if (other.getWorkspaceRoleArn() != null && other.getWorkspaceRoleArn().equals(this.getWorkspaceRoleArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAccountAccessType() == null) ? 0 : getAccountAccessType().hashCode()); hashCode = prime * hashCode + ((getAuthenticationProviders() == null) ? 0 : getAuthenticationProviders().hashCode()); hashCode = prime * hashCode + ((getClientToken() == null) ? 0 : getClientToken().hashCode()); hashCode = prime * hashCode + ((getConfiguration() == null) ? 0 : getConfiguration().hashCode()); hashCode = prime * hashCode + ((getGrafanaVersion() == null) ? 0 : getGrafanaVersion().hashCode()); hashCode = prime * hashCode + ((getNetworkAccessControl() == null) ? 0 : getNetworkAccessControl().hashCode()); hashCode = prime * hashCode + ((getOrganizationRoleName() == null) ? 0 : getOrganizationRoleName().hashCode()); hashCode = prime * hashCode + ((getPermissionType() == null) ? 0 : getPermissionType().hashCode()); hashCode = prime * hashCode + ((getStackSetName() == null) ? 0 : getStackSetName().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getVpcConfiguration() == null) ? 0 : getVpcConfiguration().hashCode()); hashCode = prime * hashCode + ((getWorkspaceDataSources() == null) ? 0 : getWorkspaceDataSources().hashCode()); hashCode = prime * hashCode + ((getWorkspaceDescription() == null) ? 0 : getWorkspaceDescription().hashCode()); hashCode = prime * hashCode + ((getWorkspaceName() == null) ? 0 : getWorkspaceName().hashCode()); hashCode = prime * hashCode + ((getWorkspaceNotificationDestinations() == null) ? 0 : getWorkspaceNotificationDestinations().hashCode()); hashCode = prime * hashCode + ((getWorkspaceOrganizationalUnits() == null) ? 0 : getWorkspaceOrganizationalUnits().hashCode()); hashCode = prime * hashCode + ((getWorkspaceRoleArn() == null) ? 0 : getWorkspaceRoleArn().hashCode()); return hashCode; } @Override public CreateWorkspaceRequest clone() { return (CreateWorkspaceRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy