Class ExternalDocumentation
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component
-
- software.amazon.smithy.openapi.model.ExternalDocumentation
-
- All Implemented Interfaces:
java.lang.Comparable<ExternalDocumentation>
,ToNode
,ToSmithyBuilder<ExternalDocumentation>
public final class ExternalDocumentation extends Component implements ToSmithyBuilder<ExternalDocumentation>, java.lang.Comparable<ExternalDocumentation>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalDocumentation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalDocumentation.Builder
builder()
int
compareTo(ExternalDocumentation that)
protected ObjectNode.Builder
createNodeBuilder()
java.util.Optional<java.lang.String>
getDescription()
java.lang.String
getUrl()
ExternalDocumentation.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 ExternalDocumentation.Builder builder()
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
getUrl
public java.lang.String getUrl()
-
toBuilder
public ExternalDocumentation.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<ExternalDocumentation>
- Returns:
- a builder for type T
-
createNodeBuilder
protected ObjectNode.Builder createNodeBuilder()
- Specified by:
createNodeBuilder
in classComponent
-
compareTo
public int compareTo(ExternalDocumentation that)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ExternalDocumentation>
-
-