Class CfnLoggerDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggerDefinitionMixinProps>
- Enclosing interface:
CfnLoggerDefinitionMixinProps
CfnLoggerDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLoggerDefinitionMixinProps.getInitialVersion()initialVersion(IResolvable initialVersion) Sets the value ofCfnLoggerDefinitionMixinProps.getInitialVersion()Sets the value ofCfnLoggerDefinitionMixinProps.getName()Sets the value ofCfnLoggerDefinitionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialVersion
@Stability(Stable) public CfnLoggerDefinitionMixinProps.Builder initialVersion(IResolvable initialVersion) Sets the value ofCfnLoggerDefinitionMixinProps.getInitialVersion()- Parameters:
initialVersion- The logger definition version to include when the logger definition is created. A logger definition version contains a list ofloggerproperty types.To associate a logger definition version after the logger definition is created, create an
AWS::Greengrass::LoggerDefinitionVersionresource and specify the ID of this logger definition.- Returns:
this
-
initialVersion
@Stability(Stable) public CfnLoggerDefinitionMixinProps.Builder initialVersion(CfnLoggerDefinitionPropsMixin.LoggerDefinitionVersionProperty initialVersion) Sets the value ofCfnLoggerDefinitionMixinProps.getInitialVersion()- Parameters:
initialVersion- The logger definition version to include when the logger definition is created. A logger definition version contains a list ofloggerproperty types.To associate a logger definition version after the logger definition is created, create an
AWS::Greengrass::LoggerDefinitionVersionresource and specify the ID of this logger definition.- Returns:
this
-
name
Sets the value ofCfnLoggerDefinitionMixinProps.getName()- Parameters:
name- The name of the logger definition.- Returns:
this
-
tags
Sets the value ofCfnLoggerDefinitionMixinProps.getTags()- Parameters:
tags- Application-specific metadata to attach to the logger definition. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .This
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLoggerDefinitionMixinProps>- Returns:
- a new instance of
CfnLoggerDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-