@Stability(value=Stable) public static final class CfnApp.SourceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApp.SourceProperty>
CfnApp.SourceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApp.SourceProperty |
build()
Builds the configured instance.
|
CfnApp.SourceProperty.Builder |
password(String password)
Sets the value of
CfnApp.SourceProperty.getPassword() |
CfnApp.SourceProperty.Builder |
revision(String revision)
Sets the value of
CfnApp.SourceProperty.getRevision() |
CfnApp.SourceProperty.Builder |
sshKey(String sshKey)
Sets the value of
CfnApp.SourceProperty.getSshKey() |
CfnApp.SourceProperty.Builder |
type(String type)
Sets the value of
CfnApp.SourceProperty.getType() |
CfnApp.SourceProperty.Builder |
url(String url)
Sets the value of
CfnApp.SourceProperty.getUrl() |
CfnApp.SourceProperty.Builder |
username(String username)
Sets the value of
CfnApp.SourceProperty.getUsername() |
@Stability(value=Stable) public CfnApp.SourceProperty.Builder password(String password)
CfnApp.SourceProperty.getPassword()password - When included in a request, the parameter depends on the repository type.
Password to the appropriate IAM secret access key.Password to the password.For more information on how to safely handle IAM credentials, see .
In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.
this@Stability(value=Stable) public CfnApp.SourceProperty.Builder revision(String revision)
CfnApp.SourceProperty.getRevision()revision - The application's version.
AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.this@Stability(value=Stable) public CfnApp.SourceProperty.Builder sshKey(String sshKey)
CfnApp.SourceProperty.getSshKey()sshKey - In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.this@Stability(value=Stable) public CfnApp.SourceProperty.Builder type(String type)
CfnApp.SourceProperty.getType()type - The repository type.this@Stability(value=Stable) public CfnApp.SourceProperty.Builder url(String url)
CfnApp.SourceProperty.getUrl()url - The source URL.
The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz .this@Stability(value=Stable) public CfnApp.SourceProperty.Builder username(String username)
CfnApp.SourceProperty.getUsername()username - This parameter depends on the repository type.
Username to the appropriate IAM access key ID.Username to the user name.this@Stability(value=Stable) public CfnApp.SourceProperty build()
build in interface software.amazon.jsii.Builder<CfnApp.SourceProperty>CfnApp.SourcePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.