public static final class CfnPartition.SchemaReferenceProperty.Builder
extends java.lang.Object
CfnPartition.SchemaReferenceProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPartition.SchemaReferenceProperty |
build()
Builds the configured instance.
|
CfnPartition.SchemaReferenceProperty.Builder |
schemaId(CfnPartition.SchemaIdProperty schemaId)
Sets the value of
CfnPartition.SchemaReferenceProperty.getSchemaId() |
CfnPartition.SchemaReferenceProperty.Builder |
schemaId(IResolvable schemaId)
Sets the value of
CfnPartition.SchemaReferenceProperty.getSchemaId() |
CfnPartition.SchemaReferenceProperty.Builder |
schemaVersionId(java.lang.String schemaVersionId)
Sets the value of
CfnPartition.SchemaReferenceProperty.getSchemaVersionId() |
CfnPartition.SchemaReferenceProperty.Builder |
schemaVersionNumber(java.lang.Number schemaVersionNumber)
Sets the value of
CfnPartition.SchemaReferenceProperty.getSchemaVersionNumber() |
public CfnPartition.SchemaReferenceProperty.Builder schemaId(IResolvable schemaId)
CfnPartition.SchemaReferenceProperty.getSchemaId()
schemaId
- A structure that contains schema identity fields.
Either this or the SchemaVersionId
has to be
provided.this
public CfnPartition.SchemaReferenceProperty.Builder schemaId(CfnPartition.SchemaIdProperty schemaId)
CfnPartition.SchemaReferenceProperty.getSchemaId()
schemaId
- A structure that contains schema identity fields.
Either this or the SchemaVersionId
has to be
provided.this
public CfnPartition.SchemaReferenceProperty.Builder schemaVersionId(java.lang.String schemaVersionId)
CfnPartition.SchemaReferenceProperty.getSchemaVersionId()
schemaVersionId
- The unique ID assigned to a version of the schema.
Either this or the SchemaId
has to be provided.this
public CfnPartition.SchemaReferenceProperty.Builder schemaVersionNumber(java.lang.Number schemaVersionNumber)
CfnPartition.SchemaReferenceProperty.getSchemaVersionNumber()
schemaVersionNumber
- The version number of the schema.this
public CfnPartition.SchemaReferenceProperty build()
CfnPartition.SchemaReferenceProperty
java.lang.NullPointerException
- if any required attribute was not provided