public static final class CfnResourceDefaultVersionProps.Builder
extends java.lang.Object
CfnResourceDefaultVersionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnResourceDefaultVersionProps |
build()
Builds the configured instance.
|
CfnResourceDefaultVersionProps.Builder |
typeName(java.lang.String typeName)
Sets the value of
CfnResourceDefaultVersionProps.getTypeName() |
CfnResourceDefaultVersionProps.Builder |
typeVersionArn(java.lang.String typeVersionArn)
Sets the value of
CfnResourceDefaultVersionProps.getTypeVersionArn() |
CfnResourceDefaultVersionProps.Builder |
versionId(java.lang.String versionId)
Sets the value of
CfnResourceDefaultVersionProps.getVersionId() |
public CfnResourceDefaultVersionProps.Builder typeName(java.lang.String typeName)
CfnResourceDefaultVersionProps.getTypeName()
typeName
- The name of the resource.
Conditional: You must specify either TypeVersionArn
, or TypeName
and VersionId
.this
public CfnResourceDefaultVersionProps.Builder typeVersionArn(java.lang.String typeVersionArn)
CfnResourceDefaultVersionProps.getTypeVersionArn()
typeVersionArn
- The Amazon Resource Name (ARN) of the resource version.
Conditional: You must specify either TypeVersionArn
, or TypeName
and VersionId
.this
public CfnResourceDefaultVersionProps.Builder versionId(java.lang.String versionId)
CfnResourceDefaultVersionProps.getVersionId()
versionId
- The ID of a specific version of the resource.
The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the resource version when it's registered.
Conditional: You must specify either TypeVersionArn
, or TypeName
and VersionId
.
this
public CfnResourceDefaultVersionProps build()
CfnResourceDefaultVersionProps
java.lang.NullPointerException
- if any required attribute was not provided