Class CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty>
- Enclosing interface:
CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty
@Stability(Stable)
public static final class CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customParameters(Map<String, String> customParameters) customParameters(IResolvable customParameters) providerArn(String providerArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
providerArn
@Stability(Stable) public CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.Builder providerArn(String providerArn) - Parameters:
providerArn- The ARN of the OAuth credential provider. This parameter is required.- Returns:
this
-
customParameters
@Stability(Stable) public CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.Builder customParameters(IResolvable customParameters) Sets the value ofCfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.getCustomParameters()- Parameters:
customParameters- Additional custom parameters for the OAuth flow.- Returns:
this
-
customParameters
@Stability(Stable) public CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.Builder customParameters(Map<String, String> customParameters) Sets the value ofCfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.getCustomParameters()- Parameters:
customParameters- Additional custom parameters for the OAuth flow.- Returns:
this
-
grantType
@Stability(Stable) public CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.Builder grantType(String grantType) - Parameters:
grantType- the value to be set.- Returns:
this
-
scopes
@Stability(Stable) public CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty.Builder scopes(List<String> scopes) - Parameters:
scopes- OAuth scopes to request.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty>- Returns:
- a new instance of
CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-