@Stability(value=Stable) public static final class CfnProject.SourceAuthProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnProject.SourceAuthProperty>
CfnProject.SourceAuthProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnProject.SourceAuthProperty |
build()
Builds the configured instance.
|
CfnProject.SourceAuthProperty.Builder |
resource(String resource)
Sets the value of
CfnProject.SourceAuthProperty.getResource() |
CfnProject.SourceAuthProperty.Builder |
type(String type)
Sets the value of
CfnProject.SourceAuthProperty.getType() |
@Stability(value=Stable) public CfnProject.SourceAuthProperty.Builder type(String type)
CfnProject.SourceAuthProperty.getType()type - The authorization type to use. The only valid value is `OAUTH` , which represents the OAuth authorization type. This parameter is required.
This data type is used by the AWS CodeBuild console only.
this@Stability(value=Stable) public CfnProject.SourceAuthProperty.Builder resource(String resource)
CfnProject.SourceAuthProperty.getResource()resource - The resource value that applies to the specified authorization type.
This data type is used by the AWS CodeBuild console only.
this@Stability(value=Stable) public CfnProject.SourceAuthProperty build()
build in interface software.amazon.jsii.Builder<CfnProject.SourceAuthProperty>CfnProject.SourceAuthPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.