public static final class ResourceSchema.Builder extends java.lang.Object implements SmithyBuilder<ResourceSchema>
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public ResourceSchema build()
SmithyBuilder
build
in interface SmithyBuilder<ResourceSchema>
public ResourceSchema.Builder typeName(java.lang.String typeName)
public ResourceSchema.Builder description(java.lang.String description)
public ResourceSchema.Builder sourceUrl(java.lang.String sourceUrl)
public ResourceSchema.Builder documentationUrl(java.lang.String documentationUrl)
public ResourceSchema.Builder definitions(java.util.Map<java.lang.String,Schema> definitions)
public ResourceSchema.Builder addDefinition(java.lang.String name, Schema definition)
public ResourceSchema.Builder removeDefinition(java.lang.String name)
public ResourceSchema.Builder clearDefinitions()
public ResourceSchema.Builder properties(java.util.Map<java.lang.String,Property> properties)
public ResourceSchema.Builder addProperty(java.lang.String name, Property property)
public ResourceSchema.Builder removeProperty(java.lang.String name)
public ResourceSchema.Builder clearProperties()
public ResourceSchema.Builder required(java.util.Collection<java.lang.String> required)
public ResourceSchema.Builder addRequired(java.lang.String required)
public ResourceSchema.Builder removeRequired(java.lang.String required)
public ResourceSchema.Builder clearRequired()
public ResourceSchema.Builder addReadOnlyProperty(java.lang.String propertyRef)
public ResourceSchema.Builder readOnlyProperties(java.util.Collection<java.lang.String> readOnlyProperties)
public ResourceSchema.Builder clearReadOnlyProperties()
public ResourceSchema.Builder addWriteOnlyProperty(java.lang.String propertyRef)
public ResourceSchema.Builder writeOnlyProperties(java.util.Collection<java.lang.String> writeOnlyProperties)
public ResourceSchema.Builder clearWriteOnlyProperties()
public ResourceSchema.Builder primaryIdentifier(java.util.Collection<java.lang.String> primaryIdentifier)
public ResourceSchema.Builder clearPrimaryIdentifier()
public ResourceSchema.Builder addCreateOnlyProperty(java.lang.String propertyRef)
public ResourceSchema.Builder createOnlyProperties(java.util.Collection<java.lang.String> createOnlyProperties)
public ResourceSchema.Builder clearCreateOnlyProperties()
public ResourceSchema.Builder addDeprecatedProperty(java.lang.String propertyRef)
public ResourceSchema.Builder deprecatedProperties(java.util.Collection<java.lang.String> deprecatedProperties)
public ResourceSchema.Builder clearDeprecatedProperties()
public ResourceSchema.Builder addAdditionalIdentifier(java.util.List<java.lang.String> additionalIdentifier)
public ResourceSchema.Builder additionalIdentifiers(java.util.List<java.util.List<java.lang.String>> additionalIdentifiers)
public ResourceSchema.Builder clearAdditionalIdentifiers()
public ResourceSchema.Builder handlers(java.util.Map<java.lang.String,Handler> handlers)
public ResourceSchema.Builder addHandler(java.lang.String name, Handler handler)
public ResourceSchema.Builder removeHandler(java.lang.String name)
public ResourceSchema.Builder clearHandlers()
public ResourceSchema.Builder remotes(java.util.Map<java.lang.String,Remote> remotes)
public ResourceSchema.Builder addRemote(java.lang.String name, Remote remote)
public ResourceSchema.Builder removeRemote(java.lang.String name)
public ResourceSchema.Builder clearRemotes()