Class CfnProjectPropsMixin.SourceAuthProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codebuild.CfnProjectPropsMixin.SourceAuthProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectPropsMixin.SourceAuthProperty>
- Enclosing interface:
CfnProjectPropsMixin.SourceAuthProperty
@Stability(Stable)
public static final class CfnProjectPropsMixin.SourceAuthProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectPropsMixin.SourceAuthProperty>
A builder for
CfnProjectPropsMixin.SourceAuthProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProjectPropsMixin.SourceAuthProperty.getResource()Sets the value ofCfnProjectPropsMixin.SourceAuthProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resource
Sets the value ofCfnProjectPropsMixin.SourceAuthProperty.getResource()- Parameters:
resource- The resource value that applies to the specified authorization type.- Returns:
this
-
type
Sets the value ofCfnProjectPropsMixin.SourceAuthProperty.getType()- Parameters:
type- The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectPropsMixin.SourceAuthProperty>- Returns:
- a new instance of
CfnProjectPropsMixin.SourceAuthProperty - Throws:
NullPointerException- if any required attribute was not provided
-