Class ResourceSchema
- java.lang.Object
-
- software.amazon.smithy.aws.cloudformation.schema.model.ResourceSchema
-
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<ResourceSchema>
public final class ResourceSchema extends java.lang.Object implements ToNode, ToSmithyBuilder<ResourceSchema>
Data class representing a CloudFormation Resource Schema.- See Also:
- Resource Type Schema, Resource Type JSON Schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceSchema.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceSchema.Builder
builder()
static ResourceSchema
fromNode(Node node)
java.util.List<java.util.List<java.lang.String>>
getAdditionalIdentifiers()
java.util.Set<java.lang.String>
getCreateOnlyProperties()
java.util.Map<java.lang.String,Schema>
getDefinitions()
java.util.Set<java.lang.String>
getDeprecatedProperties()
java.lang.String
getDescription()
java.util.Optional<java.lang.String>
getDocumentationUrl()
java.util.Map<java.lang.String,Handler>
getHandlers()
java.util.Set<java.lang.String>
getPrimaryIdentifier()
java.util.Map<java.lang.String,Property>
getProperties()
java.util.Set<java.lang.String>
getReadOnlyProperties()
java.util.Map<java.lang.String,Remote>
getRemotes()
java.util.Optional<java.lang.String>
getSourceUrl()
Tagging
getTagging()
java.lang.String
getTypeName()
java.util.Set<java.lang.String>
getWriteOnlyProperties()
ResourceSchema.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.Node
toNode()
Converts a value to aNode
.
-
-
-
Method Detail
-
toBuilder
public ResourceSchema.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<ResourceSchema>
- Returns:
- a builder for type T
-
fromNode
public static ResourceSchema fromNode(Node node)
-
builder
public static ResourceSchema.Builder builder()
-
getTypeName
public java.lang.String getTypeName()
-
getDescription
public java.lang.String getDescription()
-
getSourceUrl
public java.util.Optional<java.lang.String> getSourceUrl()
-
getDocumentationUrl
public java.util.Optional<java.lang.String> getDocumentationUrl()
-
getDefinitions
public java.util.Map<java.lang.String,Schema> getDefinitions()
-
getProperties
public java.util.Map<java.lang.String,Property> getProperties()
-
getReadOnlyProperties
public java.util.Set<java.lang.String> getReadOnlyProperties()
-
getWriteOnlyProperties
public java.util.Set<java.lang.String> getWriteOnlyProperties()
-
getPrimaryIdentifier
public java.util.Set<java.lang.String> getPrimaryIdentifier()
-
getCreateOnlyProperties
public java.util.Set<java.lang.String> getCreateOnlyProperties()
-
getDeprecatedProperties
public java.util.Set<java.lang.String> getDeprecatedProperties()
-
getAdditionalIdentifiers
public java.util.List<java.util.List<java.lang.String>> getAdditionalIdentifiers()
-
getHandlers
public java.util.Map<java.lang.String,Handler> getHandlers()
-
getRemotes
public java.util.Map<java.lang.String,Remote> getRemotes()
-
getTagging
public Tagging getTagging()
-
-