Class ResourceSchema.Builder
java.lang.Object
software.amazon.smithy.aws.cloudformation.schema.model.ResourceSchema.Builder
- All Implemented Interfaces:
SmithyBuilder<ResourceSchema>
- Enclosing class:
- ResourceSchema
public static final class ResourceSchema.Builder
extends Object
implements SmithyBuilder<ResourceSchema>
-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalIdentifier
(List<String> additionalIdentifier) addCreateOnlyProperty
(String propertyRef) addDefinition
(String name, Schema definition) addDeprecatedProperty
(String propertyRef) addHandler
(String name, Handler handler) additionalIdentifiers
(List<List<String>> additionalIdentifiers) addProperty
(String name, Property property) addReadOnlyProperty
(String propertyRef) addRequired
(String required) addWriteOnlyProperty
(String propertyRef) build()
Creates an immutable object that is created from the properties that have been set on the builder.createOnlyProperties
(Collection<String> createOnlyProperties) definitions
(Map<String, Schema> definitions) deprecatedProperties
(Collection<String> deprecatedProperties) description
(String description) documentationUrl
(String documentationUrl) primaryIdentifier
(Collection<String> primaryIdentifier) properties
(Map<String, Property> properties) readOnlyProperties
(Collection<String> readOnlyProperties) removeDefinition
(String name) removeHandler
(String name) removeProperty
(String name) removeRemote
(String name) removeRequired
(String required) required
(Collection<String> required) writeOnlyProperties
(Collection<String> writeOnlyProperties)
-
Method Details
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<ResourceSchema>
- Returns:
- an instance of T
-
typeName
-
description
-
sourceUrl
-
documentationUrl
-
definitions
-
addDefinition
-
removeDefinition
-
clearDefinitions
-
properties
-
addProperty
-
removeProperty
-
clearProperties
-
required
-
addRequired
-
removeRequired
-
clearRequired
-
addReadOnlyProperty
-
readOnlyProperties
-
clearReadOnlyProperties
-
addWriteOnlyProperty
-
writeOnlyProperties
-
clearWriteOnlyProperties
-
-
clearPrimaryIdentifier
-
addCreateOnlyProperty
-
createOnlyProperties
-
clearCreateOnlyProperties
-
addDeprecatedProperty
-
deprecatedProperties
-
clearDeprecatedProperties
-
addAdditionalIdentifier
-
additionalIdentifiers
-
clearAdditionalIdentifiers
-
handlers
-
addHandler
-
removeHandler
-
clearHandlers
-
remotes
-
tagging
-
addRemote
-
removeRemote
-
clearRemotes
-