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