@Stability(value=Stable) public static final class CfnWorkspaceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnWorkspaceProps>
CfnWorkspaceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWorkspaceProps.Builder |
alertManagerDefinition(String alertManagerDefinition)
Sets the value of
CfnWorkspaceProps.getAlertManagerDefinition() |
CfnWorkspaceProps.Builder |
alias(String alias)
Sets the value of
CfnWorkspaceProps.getAlias() |
CfnWorkspaceProps |
build()
Builds the configured instance.
|
CfnWorkspaceProps.Builder |
loggingConfiguration(CfnWorkspace.LoggingConfigurationProperty loggingConfiguration)
Sets the value of
CfnWorkspaceProps.getLoggingConfiguration() |
CfnWorkspaceProps.Builder |
loggingConfiguration(IResolvable loggingConfiguration)
Sets the value of
CfnWorkspaceProps.getLoggingConfiguration() |
CfnWorkspaceProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnWorkspaceProps.getTags() |
@Stability(value=Stable) public CfnWorkspaceProps.Builder alertManagerDefinition(String alertManagerDefinition)
CfnWorkspaceProps.getAlertManagerDefinition()alertManagerDefinition - The alert manager definition for the workspace, as a string.
For more information, see Alert manager and templating .this@Stability(value=Stable) public CfnWorkspaceProps.Builder alias(String alias)
CfnWorkspaceProps.getAlias()alias - An alias that you assign to this workspace to help you identify it.
It does not need to be unique.
The alias can be as many as 100 characters and can include any type of characters. Amazon Managed Service for Prometheus automatically strips any blank spaces from the beginning and end of the alias that you specify.
this@Stability(value=Stable) public CfnWorkspaceProps.Builder loggingConfiguration(CfnWorkspace.LoggingConfigurationProperty loggingConfiguration)
CfnWorkspaceProps.getLoggingConfiguration()loggingConfiguration - `AWS::APS::Workspace.LoggingConfiguration`.this@Stability(value=Stable) public CfnWorkspaceProps.Builder loggingConfiguration(IResolvable loggingConfiguration)
CfnWorkspaceProps.getLoggingConfiguration()loggingConfiguration - `AWS::APS::Workspace.LoggingConfiguration`.this@Stability(value=Stable) public CfnWorkspaceProps.Builder tags(List<? extends CfnTag> tags)
CfnWorkspaceProps.getTags()tags - A list of tag keys and values to associate with the workspace.this@Stability(value=Stable) public CfnWorkspaceProps build()
build in interface software.amazon.jsii.Builder<CfnWorkspaceProps>CfnWorkspacePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.