Interface CreateWorkspaceRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateWorkspaceRequest.Builder,,- CreateWorkspaceRequest> - GrafanaRequest.Builder,- SdkBuilder<CreateWorkspaceRequest.Builder,,- CreateWorkspaceRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateWorkspaceRequest
- 
Method SummaryModifier and TypeMethodDescriptionaccountAccessType(String accountAccessType) Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization.accountAccessType(AccountAccessType accountAccessType) Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization.authenticationProviders(Collection<AuthenticationProviderTypes> authenticationProviders) Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace.authenticationProviders(AuthenticationProviderTypes... authenticationProviders) Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace.authenticationProvidersWithStrings(String... authenticationProviders) Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace.authenticationProvidersWithStrings(Collection<String> authenticationProviders) Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace.clientToken(String clientToken) A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.configuration(String configuration) The configuration string for the workspace that you create.grafanaVersion(String grafanaVersion) Specifies the version of Grafana to support in the new workspace.default CreateWorkspaceRequest.BuildernetworkAccessControl(Consumer<NetworkAccessConfiguration.Builder> networkAccessControl) Configuration for network access to your workspace.networkAccessControl(NetworkAccessConfiguration networkAccessControl) Configuration for network access to your workspace.organizationRoleName(String 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.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissionType(String 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.permissionType(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.stackSetName(String stackSetName) The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.The list of tags associated with the workspace.default CreateWorkspaceRequest.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.vpcConfiguration(VpcConfiguration vpcConfiguration) The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.workspaceDataSources(Collection<DataSourceType> workspaceDataSources) This parameter is for internal use only, and should not be used.workspaceDataSources(DataSourceType... workspaceDataSources) This parameter is for internal use only, and should not be used.workspaceDataSourcesWithStrings(String... workspaceDataSources) This parameter is for internal use only, and should not be used.workspaceDataSourcesWithStrings(Collection<String> workspaceDataSources) This parameter is for internal use only, and should not be used.workspaceDescription(String workspaceDescription) A description for the workspace.workspaceName(String workspaceName) The name for the workspace.workspaceNotificationDestinations(Collection<NotificationDestinationType> workspaceNotificationDestinations) Specify the Amazon Web Services notification channels that you plan to use in this workspace.workspaceNotificationDestinations(NotificationDestinationType... workspaceNotificationDestinations) Specify the Amazon Web Services notification channels that you plan to use in this workspace.workspaceNotificationDestinationsWithStrings(String... workspaceNotificationDestinations) Specify the Amazon Web Services notification channels that you plan to use in this workspace.workspaceNotificationDestinationsWithStrings(Collection<String> workspaceNotificationDestinations) Specify the Amazon Web Services notification channels that you plan to use in this workspace.workspaceOrganizationalUnits(String... 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.workspaceOrganizationalUnits(Collection<String> 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.workspaceRoleArn(String 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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
accountAccessTypeSpecifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify ORGANIZATION, you must specify which organizational units the workspace can access in theworkspaceOrganizationalUnitsparameter.- Parameters:
- accountAccessType- Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify- ORGANIZATION, you must specify which organizational units the workspace can access in the- workspaceOrganizationalUnitsparameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accountAccessTypeSpecifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify ORGANIZATION, you must specify which organizational units the workspace can access in theworkspaceOrganizationalUnitsparameter.- Parameters:
- accountAccessType- Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify- ORGANIZATION, you must specify which organizational units the workspace can access in the- workspaceOrganizationalUnitsparameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
authenticationProvidersWithStringsCreateWorkspaceRequest.Builder authenticationProvidersWithStrings(Collection<String> authenticationProviders) Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana. - Parameters:
- authenticationProviders- Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
authenticationProvidersWithStringsCreateWorkspaceRequest.Builder authenticationProvidersWithStrings(String... authenticationProviders) Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana. - Parameters:
- authenticationProviders- Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
authenticationProvidersCreateWorkspaceRequest.Builder authenticationProviders(Collection<AuthenticationProviderTypes> authenticationProviders) Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana. - Parameters:
- authenticationProviders- Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
authenticationProvidersCreateWorkspaceRequest.Builder authenticationProviders(AuthenticationProviderTypes... authenticationProviders) Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana. - Parameters:
- authenticationProviders- Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
clientTokenA unique, case-sensitive, user-provided identifier to ensure the idempotency of the request. - Parameters:
- clientToken- A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
configurationThe configuration string for the workspace that you create. For more information about the format and configuration options available, see Working in your Grafana workspace. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
grafanaVersionSpecifies the version of Grafana to support in the new workspace. If not specified, defaults to the latest version (for example, 10.4). To get a list of supported versions, use the ListVersionsoperation.- Parameters:
- grafanaVersion- Specifies the version of Grafana to support in the new workspace. If not specified, defaults to the latest version (for example, 10.4).- To get a list of supported versions, use the - ListVersionsoperation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
networkAccessControlCreateWorkspaceRequest.Builder networkAccessControl(NetworkAccessConfiguration 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. - Parameters:
- 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
networkAccessControldefault CreateWorkspaceRequest.Builder networkAccessControl(Consumer<NetworkAccessConfiguration.Builder> 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. This is a convenience method that creates an instance of theNetworkAccessConfiguration.Builderavoiding the need to create one manually viaNetworkAccessConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkAccessControl(NetworkAccessConfiguration).- Parameters:
- networkAccessControl- a consumer that will call methods on- NetworkAccessConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
organizationRoleNameThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionTypeWhen 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 workspaceRoleArnfor 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_MANAGEDpermission 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. - Parameters:
- 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 - workspaceRoleArnfor 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_MANAGEDpermission 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
permissionTypeWhen 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 workspaceRoleArnfor 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_MANAGEDpermission 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. - Parameters:
- 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 - workspaceRoleArnfor 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_MANAGEDpermission 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stackSetNameThe name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace. - Parameters:
- stackSetName- The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsThe list of tags associated with the workspace. - Parameters:
- tags- The list of tags associated with the workspace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
vpcConfigurationThe configuration 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). - Parameters:
- 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). 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
vpcConfigurationdefault CreateWorkspaceRequest.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> 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). VpcConfiguration.Builderavoiding the need to create one manually viaVpcConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(VpcConfiguration).- Parameters:
- vpcConfiguration- a consumer that will call methods on- VpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
workspaceDataSourcesWithStringsCreateWorkspaceRequest.Builder workspaceDataSourcesWithStrings(Collection<String> workspaceDataSources) This parameter is for internal use only, and should not be used. - Parameters:
- workspaceDataSources- This parameter is for internal use only, and should not be used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceDataSourcesWithStringsThis parameter is for internal use only, and should not be used. - Parameters:
- workspaceDataSources- This parameter is for internal use only, and should not be used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceDataSourcesCreateWorkspaceRequest.Builder workspaceDataSources(Collection<DataSourceType> workspaceDataSources) This parameter is for internal use only, and should not be used. - Parameters:
- workspaceDataSources- This parameter is for internal use only, and should not be used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceDataSourcesThis parameter is for internal use only, and should not be used. - Parameters:
- workspaceDataSources- This parameter is for internal use only, and should not be used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceDescriptionA 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}$- Parameters:
- 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}$
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceNameThe name for the workspace. It does not have to be unique. - Parameters:
- workspaceName- The name for the workspace. It does not have to be unique.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceNotificationDestinationsWithStringsCreateWorkspaceRequest.Builder workspaceNotificationDestinationsWithStrings(Collection<String> 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceNotificationDestinationsWithStringsCreateWorkspaceRequest.Builder workspaceNotificationDestinationsWithStrings(String... 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceNotificationDestinationsCreateWorkspaceRequest.Builder workspaceNotificationDestinations(Collection<NotificationDestinationType> 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceNotificationDestinationsCreateWorkspaceRequest.Builder workspaceNotificationDestinations(NotificationDestinationType... 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceOrganizationalUnitsCreateWorkspaceRequest.Builder workspaceOrganizationalUnits(Collection<String> 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceOrganizationalUnitsSpecifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceRoleArnSpecified 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateWorkspaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateWorkspaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-