public static final class CfnBranch.BasicAuthConfigProperty.Builder
extends java.lang.Object
CfnBranch.BasicAuthConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBranch.BasicAuthConfigProperty |
build()
Builds the configured instance.
|
CfnBranch.BasicAuthConfigProperty.Builder |
enableBasicAuth(java.lang.Boolean enableBasicAuth)
Sets the value of
CfnBranch.BasicAuthConfigProperty.getEnableBasicAuth() |
CfnBranch.BasicAuthConfigProperty.Builder |
enableBasicAuth(IResolvable enableBasicAuth)
Sets the value of
CfnBranch.BasicAuthConfigProperty.getEnableBasicAuth() |
CfnBranch.BasicAuthConfigProperty.Builder |
password(java.lang.String password)
Sets the value of
CfnBranch.BasicAuthConfigProperty.getPassword() |
CfnBranch.BasicAuthConfigProperty.Builder |
username(java.lang.String username)
Sets the value of
CfnBranch.BasicAuthConfigProperty.getUsername() |
public CfnBranch.BasicAuthConfigProperty.Builder password(java.lang.String password)
CfnBranch.BasicAuthConfigProperty.getPassword()
password
- The password for basic authorization. This parameter is required.
Length Constraints: Minimum length of 1. Maximum length of 255.this
public CfnBranch.BasicAuthConfigProperty.Builder username(java.lang.String username)
CfnBranch.BasicAuthConfigProperty.getUsername()
username
- The user name for basic authorization. This parameter is required.
Length Constraints: Minimum length of 1. Maximum length of 255.this
public CfnBranch.BasicAuthConfigProperty.Builder enableBasicAuth(java.lang.Boolean enableBasicAuth)
CfnBranch.BasicAuthConfigProperty.getEnableBasicAuth()
enableBasicAuth
- Enables basic authorization for the branch.this
public CfnBranch.BasicAuthConfigProperty.Builder enableBasicAuth(IResolvable enableBasicAuth)
CfnBranch.BasicAuthConfigProperty.getEnableBasicAuth()
enableBasicAuth
- Enables basic authorization for the branch.this
public CfnBranch.BasicAuthConfigProperty build()
CfnBranch.BasicAuthConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided