Interface UpdateWorkspaceRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateWorkspaceRequest.Builder,,- UpdateWorkspaceRequest> - GrafanaRequest.Builder,- SdkBuilder<UpdateWorkspaceRequest.Builder,,- UpdateWorkspaceRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UpdateWorkspaceRequest
- 
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.default UpdateWorkspaceRequest.BuildernetworkAccessControl(Consumer<NetworkAccessConfiguration.Builder> networkAccessControl) The configuration settings for network access to your workspace.networkAccessControl(NetworkAccessConfiguration networkAccessControl) The configuration settings for network access to your workspace.organizationRoleName(String organizationRoleName) The name of an IAM role that already exists to use to access resources through Organizations.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissionType(String permissionType) Use this parameter if you want to change a workspace fromSERVICE_MANAGEDtoCUSTOMER_MANAGED.permissionType(PermissionType permissionType) Use this parameter if you want to change a workspace fromSERVICE_MANAGEDtoCUSTOMER_MANAGED.removeNetworkAccessConfiguration(Boolean removeNetworkAccessConfiguration) Whether to remove the network access configuration from the workspace.removeVpcConfiguration(Boolean removeVpcConfiguration) Whether to remove the VPC configuration from the workspace.stackSetName(String stackSetName) The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.default UpdateWorkspaceRequest.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.workspaceId(String workspaceId) The ID of the workspace to update.workspaceName(String workspaceName) A new name for the workspace to update.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) Specifies an IAM role that grants permissions to Amazon Web Services resources that the workspace accesses, such as 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:
 
- 
networkAccessControlUpdateWorkspaceRequest.Builder networkAccessControl(NetworkAccessConfiguration networkAccessControl) The configuration settings 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- The configuration settings 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 UpdateWorkspaceRequest.Builder networkAccessControl(Consumer<NetworkAccessConfiguration.Builder> networkAccessControl) The configuration settings 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 to access resources through Organizations. This can only be used with a workspace that has the permissionTypeset toCUSTOMER_MANAGED.- Parameters:
- organizationRoleName- The name of an IAM role that already exists to use to access resources through Organizations. This can only be used with a workspace that has the- permissionTypeset to- CUSTOMER_MANAGED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionTypeUse this parameter if you want to change a workspace from SERVICE_MANAGEDtoCUSTOMER_MANAGED. This allows you to manage the permissions that the workspace uses to access datasources and notification channels. If the workspace is in a member Amazon Web Services account of an organization, and that account is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must chooseCUSTOMER_MANAGED.If you specify this as CUSTOMER_MANAGED, you must also specify aworkspaceRoleArnthat the workspace will use for accessing Amazon Web Services resources.For more information on the role and permissions needed, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels Do not use this to convert a CUSTOMER_MANAGEDworkspace toSERVICE_MANAGED. Do not include this parameter if you want to leave the workspace asSERVICE_MANAGED.You can convert a CUSTOMER_MANAGEDworkspace toSERVICE_MANAGEDusing the Amazon Managed Grafana console. For more information, see Managing permissions for data sources and notification channels.- Parameters:
- permissionType- Use this parameter if you want to change a workspace from- SERVICE_MANAGEDto- CUSTOMER_MANAGED. This allows you to manage the permissions that the workspace uses to access datasources and notification channels. If the workspace is in a member Amazon Web Services account of an organization, and that account is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must choose- CUSTOMER_MANAGED.- If you specify this as - CUSTOMER_MANAGED, you must also specify a- workspaceRoleArnthat the workspace will use for accessing Amazon Web Services resources.- For more information on the role and permissions needed, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels - Do not use this to convert a - CUSTOMER_MANAGEDworkspace to- SERVICE_MANAGED. Do not include this parameter if you want to leave the workspace as- SERVICE_MANAGED.- You can convert a - CUSTOMER_MANAGEDworkspace to- SERVICE_MANAGEDusing the Amazon Managed Grafana console. For more information, see Managing permissions for data sources and notification channels.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
permissionTypeUse this parameter if you want to change a workspace from SERVICE_MANAGEDtoCUSTOMER_MANAGED. This allows you to manage the permissions that the workspace uses to access datasources and notification channels. If the workspace is in a member Amazon Web Services account of an organization, and that account is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must chooseCUSTOMER_MANAGED.If you specify this as CUSTOMER_MANAGED, you must also specify aworkspaceRoleArnthat the workspace will use for accessing Amazon Web Services resources.For more information on the role and permissions needed, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels Do not use this to convert a CUSTOMER_MANAGEDworkspace toSERVICE_MANAGED. Do not include this parameter if you want to leave the workspace asSERVICE_MANAGED.You can convert a CUSTOMER_MANAGEDworkspace toSERVICE_MANAGEDusing the Amazon Managed Grafana console. For more information, see Managing permissions for data sources and notification channels.- Parameters:
- permissionType- Use this parameter if you want to change a workspace from- SERVICE_MANAGEDto- CUSTOMER_MANAGED. This allows you to manage the permissions that the workspace uses to access datasources and notification channels. If the workspace is in a member Amazon Web Services account of an organization, and that account is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must choose- CUSTOMER_MANAGED.- If you specify this as - CUSTOMER_MANAGED, you must also specify a- workspaceRoleArnthat the workspace will use for accessing Amazon Web Services resources.- For more information on the role and permissions needed, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels - Do not use this to convert a - CUSTOMER_MANAGEDworkspace to- SERVICE_MANAGED. Do not include this parameter if you want to leave the workspace as- SERVICE_MANAGED.- You can convert a - CUSTOMER_MANAGEDworkspace to- SERVICE_MANAGEDusing the Amazon Managed Grafana console. For more information, see Managing permissions for data sources and notification channels.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
removeNetworkAccessConfigurationUpdateWorkspaceRequest.Builder removeNetworkAccessConfiguration(Boolean removeNetworkAccessConfiguration) Whether to remove the network access configuration from the workspace. Setting this to trueand providing anetworkAccessControlto set will return an error.If you remove this configuration by setting this to true, then all IP addresses and VPC endpoints will be allowed. Standard Grafana authentication and authorization will still be required.- Parameters:
- removeNetworkAccessConfiguration- Whether to remove the network access configuration from the workspace.- Setting this to - trueand providing a- networkAccessControlto set will return an error.- If you remove this configuration by setting this to - true, 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.
 
- 
removeVpcConfigurationWhether to remove the VPC configuration from the workspace. Setting this to trueand providing avpcConfigurationto set will return an error.- Parameters:
- removeVpcConfiguration- Whether to remove the VPC configuration from the workspace.- Setting this to - trueand providing a- vpcConfigurationto set will return an error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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.
 
- 
vpcConfigurationThe configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. - Parameters:
- vpcConfiguration- The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
vpcConfigurationdefault UpdateWorkspaceRequest.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. This is a convenience method that creates an instance of theVpcConfiguration.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:
 
- 
workspaceDataSourcesWithStringsUpdateWorkspaceRequest.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.
 
- 
workspaceDataSourcesUpdateWorkspaceRequest.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. - Parameters:
- workspaceDescription- A description for the workspace. This is used only to help you identify this workspace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceIdThe ID of the workspace to update. - Parameters:
- workspaceId- The ID of the workspace to update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceNameA new name for the workspace to update. - Parameters:
- workspaceName- A new name for the workspace to update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceNotificationDestinationsWithStringsUpdateWorkspaceRequest.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.
 
- 
workspaceNotificationDestinationsWithStringsUpdateWorkspaceRequest.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.
 
- 
workspaceNotificationDestinationsUpdateWorkspaceRequest.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.
 
- 
workspaceNotificationDestinationsUpdateWorkspaceRequest.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.
 
- 
workspaceOrganizationalUnitsUpdateWorkspaceRequest.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.
 
- 
workspaceRoleArnSpecifies an IAM role that grants permissions to Amazon Web Services resources that the workspace accesses, such as data sources and notification channels. If this workspace has permissionTypeCUSTOMER_MANAGED, then this role is required.- Parameters:
- workspaceRoleArn- Specifies an IAM role that grants permissions to Amazon Web Services resources that the workspace accesses, such as data sources and notification channels. If this workspace has- permissionType- CUSTOMER_MANAGED, then this role is required.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationUpdateWorkspaceRequest.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.
 
- 
overrideConfigurationUpdateWorkspaceRequest.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.
 
 
-