Package com.pulumi.aws.codebuild.inputs
Class SourceCredentialState.Builder
- java.lang.Object
-
- com.pulumi.aws.codebuild.inputs.SourceCredentialState.Builder
-
- Enclosing class:
- SourceCredentialState
public static final class SourceCredentialState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SourceCredentialState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceCredentialState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
SourceCredentialState.Builder
arn(java.lang.String arn)
SourceCredentialState.Builder
authType(com.pulumi.core.Output<java.lang.String> authType)
SourceCredentialState.Builder
authType(java.lang.String authType)
SourceCredentialState
build()
SourceCredentialState.Builder
serverType(com.pulumi.core.Output<java.lang.String> serverType)
SourceCredentialState.Builder
serverType(java.lang.String serverType)
SourceCredentialState.Builder
token(com.pulumi.core.Output<java.lang.String> token)
SourceCredentialState.Builder
token(java.lang.String token)
SourceCredentialState.Builder
userName(com.pulumi.core.Output<java.lang.String> userName)
SourceCredentialState.Builder
userName(java.lang.String userName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SourceCredentialState defaults)
-
-
Method Detail
-
arn
public SourceCredentialState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- The ARN of Source Credential.- Returns:
- builder
-
arn
public SourceCredentialState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The ARN of Source Credential.- Returns:
- builder
-
authType
public SourceCredentialState.Builder authType(@Nullable com.pulumi.core.Output<java.lang.String> authType)
- Parameters:
authType
- The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.- Returns:
- builder
-
authType
public SourceCredentialState.Builder authType(java.lang.String authType)
- Parameters:
authType
- The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.- Returns:
- builder
-
serverType
public SourceCredentialState.Builder serverType(@Nullable com.pulumi.core.Output<java.lang.String> serverType)
- Parameters:
serverType
- The source provider used for this project.- Returns:
- builder
-
serverType
public SourceCredentialState.Builder serverType(java.lang.String serverType)
- Parameters:
serverType
- The source provider used for this project.- Returns:
- builder
-
token
public SourceCredentialState.Builder token(@Nullable com.pulumi.core.Output<java.lang.String> token)
- Parameters:
token
- For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.- Returns:
- builder
-
token
public SourceCredentialState.Builder token(java.lang.String token)
- Parameters:
token
- For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.- Returns:
- builder
-
userName
public SourceCredentialState.Builder userName(@Nullable com.pulumi.core.Output<java.lang.String> userName)
- Parameters:
userName
- The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.- Returns:
- builder
-
userName
public SourceCredentialState.Builder userName(java.lang.String userName)
- Parameters:
userName
- The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.- Returns:
- builder
-
build
public SourceCredentialState build()
-
-