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