Class ExternalDocumentation.Builder
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<ExternalDocumentation.Builder,ExternalDocumentation>
-
- software.amazon.smithy.openapi.model.ExternalDocumentation.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ExternalDocumentation>
- Enclosing class:
- ExternalDocumentation
public static final class ExternalDocumentation.Builder extends Component.Builder<ExternalDocumentation.Builder,ExternalDocumentation>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalDocumentation
build()
Creates an immutable object that is created from the properties that have been set on the builder.ExternalDocumentation.Builder
description(java.lang.String description)
ExternalDocumentation.Builder
url(java.lang.String url)
-
Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
-
-
-
Method Detail
-
build
public ExternalDocumentation build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
description
public ExternalDocumentation.Builder description(java.lang.String description)
-
url
public ExternalDocumentation.Builder url(java.lang.String url)
-
-