Class TagObject
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component
-
- software.amazon.smithy.openapi.model.TagObject
-
- All Implemented Interfaces:
java.lang.Comparable<TagObject>
,ToNode
,ToSmithyBuilder<TagObject>
public final class TagObject extends Component implements ToSmithyBuilder<TagObject>, java.lang.Comparable<TagObject>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagObject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagObject.Builder
builder()
int
compareTo(TagObject that)
protected ObjectNode.Builder
createNodeBuilder()
java.util.Optional<java.lang.String>
getDescription()
java.util.Optional<ExternalDocumentation>
getExternalDocs()
java.lang.String
getName()
TagObject.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.-
Methods inherited from class software.amazon.smithy.openapi.model.Component
equals, getExtension, getExtensions, hashCode, toNode
-
-
-
-
Method Detail
-
builder
public static TagObject.Builder builder()
-
getName
public java.lang.String getName()
-
getExternalDocs
public java.util.Optional<ExternalDocumentation> getExternalDocs()
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
toBuilder
public TagObject.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<TagObject>
- Returns:
- a builder for type T
-
createNodeBuilder
protected ObjectNode.Builder createNodeBuilder()
- Specified by:
createNodeBuilder
in classComponent
-
-