public static final class CfnModuleDefaultVersionProps.Builder
extends java.lang.Object
CfnModuleDefaultVersionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnModuleDefaultVersionProps.Builder |
arn(java.lang.String arn)
Sets the value of
CfnModuleDefaultVersionProps.getArn() |
CfnModuleDefaultVersionProps |
build()
Builds the configured instance.
|
CfnModuleDefaultVersionProps.Builder |
moduleName(java.lang.String moduleName)
Sets the value of
CfnModuleDefaultVersionProps.getModuleName() |
CfnModuleDefaultVersionProps.Builder |
versionId(java.lang.String versionId)
Sets the value of
CfnModuleDefaultVersionProps.getVersionId() |
public CfnModuleDefaultVersionProps.Builder arn(java.lang.String arn)
CfnModuleDefaultVersionProps.getArn()
arn
- The Amazon Resource Name (ARN) of the module version to set as the default version.
Conditional: You must specify either Arn
, or ModuleName
and VersionId
.this
public CfnModuleDefaultVersionProps.Builder moduleName(java.lang.String moduleName)
CfnModuleDefaultVersionProps.getModuleName()
moduleName
- The name of the module.
Conditional: You must specify either Arn
, or ModuleName
and VersionId
.this
public CfnModuleDefaultVersionProps.Builder versionId(java.lang.String versionId)
CfnModuleDefaultVersionProps.getVersionId()
versionId
- The ID for the specific version of the module.
Conditional: You must specify either Arn
, or ModuleName
and VersionId
.this
public CfnModuleDefaultVersionProps build()
CfnModuleDefaultVersionProps
java.lang.NullPointerException
- if any required attribute was not provided