public final class InfoObject extends Component implements ToSmithyBuilder<InfoObject>
Modifier and Type | Class and Description |
---|---|
static class |
InfoObject.Builder |
Modifier and Type | Method and Description |
---|---|
static InfoObject.Builder |
builder() |
protected ObjectNode.Builder |
createNodeBuilder() |
java.util.Optional<ObjectNode> |
getContact() |
java.util.Optional<java.lang.String> |
getDescription() |
java.util.Optional<ObjectNode> |
getLicense() |
java.util.Optional<java.lang.String> |
getTermsOfService() |
java.lang.String |
getTitle() |
java.lang.String |
getVersion() |
InfoObject.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getExtension, getExtensions, hashCode, toNode
public static InfoObject.Builder builder()
public java.lang.String getTitle()
public java.lang.String getVersion()
public java.util.Optional<java.lang.String> getDescription()
public java.util.Optional<java.lang.String> getTermsOfService()
public java.util.Optional<ObjectNode> getLicense()
public java.util.Optional<ObjectNode> getContact()
public InfoObject.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<InfoObject>
protected ObjectNode.Builder createNodeBuilder()
createNodeBuilder
in class Component