Class SecurityScheme.Builder
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<SecurityScheme.Builder,SecurityScheme>
-
- software.amazon.smithy.openapi.model.SecurityScheme.Builder
-
- All Implemented Interfaces:
SmithyBuilder<SecurityScheme>
- Enclosing class:
- SecurityScheme
public static final class SecurityScheme.Builder extends Component.Builder<SecurityScheme.Builder,SecurityScheme>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityScheme.Builder
bearerFormat(java.lang.String bearerFormat)
SecurityScheme
build()
Creates an immutable object that is created from the properties that have been set on the builder.SecurityScheme.Builder
description(java.lang.String description)
SecurityScheme.Builder
flows(ObjectNode flows)
SecurityScheme.Builder
in(java.lang.String in)
SecurityScheme.Builder
name(java.lang.String name)
SecurityScheme.Builder
openIdConnectUrl(java.lang.String openIdConnectUrl)
SecurityScheme.Builder
scheme(java.lang.String scheme)
SecurityScheme.Builder
type(java.lang.String type)
-
Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
-
-
-
Method Detail
-
build
public SecurityScheme 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
-
type
public SecurityScheme.Builder type(java.lang.String type)
-
description
public SecurityScheme.Builder description(java.lang.String description)
-
name
public SecurityScheme.Builder name(java.lang.String name)
-
in
public SecurityScheme.Builder in(java.lang.String in)
-
scheme
public SecurityScheme.Builder scheme(java.lang.String scheme)
-
bearerFormat
public SecurityScheme.Builder bearerFormat(java.lang.String bearerFormat)
-
openIdConnectUrl
public SecurityScheme.Builder openIdConnectUrl(java.lang.String openIdConnectUrl)
-
flows
public SecurityScheme.Builder flows(ObjectNode flows)
-
-