Class CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggerDefinition.LoggerDefinitionVersionProperty>
- Enclosing interface:
CfnLoggerDefinition.LoggerDefinitionVersionProperty
@Stability(Stable)
public static final class CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggerDefinition.LoggerDefinitionVersionProperty>
A builder for
CfnLoggerDefinition.LoggerDefinitionVersionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnLoggerDefinition.LoggerDefinitionVersionProperty.getLoggers()
loggers
(IResolvable loggers) Sets the value ofCfnLoggerDefinition.LoggerDefinitionVersionProperty.getLoggers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loggers
@Stability(Stable) public CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder loggers(IResolvable loggers) Sets the value ofCfnLoggerDefinition.LoggerDefinitionVersionProperty.getLoggers()
- Parameters:
loggers
- The loggers in this version. This parameter is required.- Returns:
this
-
loggers
@Stability(Stable) public CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder loggers(List<? extends Object> loggers) Sets the value ofCfnLoggerDefinition.LoggerDefinitionVersionProperty.getLoggers()
- Parameters:
loggers
- The loggers in this version. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLoggerDefinition.LoggerDefinitionVersionProperty>
- Returns:
- a new instance of
CfnLoggerDefinition.LoggerDefinitionVersionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-