Class CfnLoggerDefinitionProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnLoggerDefinitionProps>
- Enclosing interface:
- CfnLoggerDefinitionProps
CfnLoggerDefinitionProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.initialVersion(IResolvable initialVersion) Sets the value ofCfnLoggerDefinitionProps.getInitialVersion()initialVersion(CfnLoggerDefinition.LoggerDefinitionVersionProperty initialVersion) Sets the value ofCfnLoggerDefinitionProps.getInitialVersion()Sets the value ofCfnLoggerDefinitionProps.getName()Sets the value ofCfnLoggerDefinitionProps.getTags()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
nameSets the value ofCfnLoggerDefinitionProps.getName()- Parameters:
- name- The name of the logger definition. This parameter is required.
- Returns:
- this
 
- 
initialVersion@Stability(Stable) public CfnLoggerDefinitionProps.Builder initialVersion(IResolvable initialVersion) Sets the value ofCfnLoggerDefinitionProps.getInitialVersion()- Parameters:
- initialVersion- The logger definition version to include when the logger definition is created. A logger definition version contains a list of- loggerproperty 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 CfnLoggerDefinitionProps.Builder initialVersion(CfnLoggerDefinition.LoggerDefinitionVersionProperty initialVersion) Sets the value ofCfnLoggerDefinitionProps.getInitialVersion()- Parameters:
- initialVersion- The logger definition version to include when the logger definition is created. A logger definition version contains a list of- loggerproperty 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
 
- 
tagsSets the value ofCfnLoggerDefinitionProps.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 most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnLoggerDefinitionProps>
- Returns:
- a new instance of CfnLoggerDefinitionProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-