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