public static class ProviderSpecificationComponentsSecuritySchemes.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
ProviderSpecificationComponentsSecuritySchemes.Builder |
authenticationMethod(String authenticationMethod)
Set the authenticationMethod.
|
ProviderSpecificationComponentsSecuritySchemes.Builder |
basic(ProviderSpecificationComponentsSecuritySchemesBasic basic)
Set the basic.
|
ProviderSpecificationComponentsSecuritySchemes |
build()
Builds a ProviderSpecificationComponentsSecuritySchemes.
|
ProviderSpecificationComponentsSecuritySchemes.Builder |
oauth2(ProviderAuthenticationOAuth2 oauth2)
Set the oauth2.
|
public ProviderSpecificationComponentsSecuritySchemes build()
public ProviderSpecificationComponentsSecuritySchemes.Builder authenticationMethod(String authenticationMethod)
authenticationMethod
- the authenticationMethodpublic ProviderSpecificationComponentsSecuritySchemes.Builder basic(ProviderSpecificationComponentsSecuritySchemesBasic basic)
basic
- the basicpublic ProviderSpecificationComponentsSecuritySchemes.Builder oauth2(ProviderAuthenticationOAuth2 oauth2)
oauth2
- the oauth2Copyright © 2024 IBM Cloud. All rights reserved.