Class CfnModuleDefaultVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnModuleDefaultVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModuleDefaultVersionMixinProps>
- Enclosing interface:
CfnModuleDefaultVersionMixinProps
@Stability(Stable)
public static final class CfnModuleDefaultVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModuleDefaultVersionMixinProps>
A builder for
CfnModuleDefaultVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnModuleDefaultVersionMixinProps.getArn()arn(IModuleVersionRef arn) Sets the value ofCfnModuleDefaultVersionMixinProps.getArn()build()Builds the configured instance.moduleName(String moduleName) Sets the value ofCfnModuleDefaultVersionMixinProps.getModuleName()Sets the value ofCfnModuleDefaultVersionMixinProps.getVersionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnModuleDefaultVersionMixinProps.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the module version to set as the default version. Conditional: You must specify eitherArn, orModuleNameandVersionId.- Returns:
this
-
arn
Sets the value ofCfnModuleDefaultVersionMixinProps.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the module version to set as the default version. Conditional: You must specify eitherArn, orModuleNameandVersionId.- Returns:
this
-
moduleName
Sets the value ofCfnModuleDefaultVersionMixinProps.getModuleName()- Parameters:
moduleName- The name of the module. Conditional: You must specify eitherArn, orModuleNameandVersionId.- Returns:
this
-
versionId
Sets the value ofCfnModuleDefaultVersionMixinProps.getVersionId()- Parameters:
versionId- The ID for the specific version of the module. Conditional: You must specify eitherArn, orModuleNameandVersionId.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModuleDefaultVersionMixinProps>- Returns:
- a new instance of
CfnModuleDefaultVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-