public static interface Source.Builder extends CopyableBuilder<Source.Builder,Source>
Modifier and Type | Method and Description |
---|---|
Source.Builder |
password(String password)
When included in a request, the parameter depends on the repository type.
|
Source.Builder |
revision(String revision)
The application's version.
|
Source.Builder |
sshKey(String sshKey)
In requests, the repository's SSH key.
|
Source.Builder |
type(SourceType type)
The repository type.
|
Source.Builder |
type(String type)
The repository type.
|
Source.Builder |
url(String url)
The source URL.
|
Source.Builder |
username(String username)
This parameter depends on the repository type.
|
copy
applyMutation, build
Source.Builder type(String type)
The repository type.
type
- The repository type.SourceType
,
SourceType
Source.Builder type(SourceType type)
The repository type.
type
- The repository type.SourceType
,
SourceType
Source.Builder url(String 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
.
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
.Source.Builder username(String username)
This parameter depends on the repository type.
For Amazon S3 bundles, set Username
to the appropriate IAM access key ID.
For HTTP bundles, Git repositories, and Subversion repositories, set Username
to the user name.
username
- This parameter depends on the repository type.
For Amazon S3 bundles, set Username
to the appropriate IAM access key ID.
For HTTP bundles, Git repositories, and Subversion repositories, set Username
to the user
name.
Source.Builder password(String password)
When included in a request, the parameter depends on the repository type.
For Amazon S3 bundles, set Password
to the appropriate IAM secret access key.
For HTTP bundles and Subversion repositories, set Password
to the password.
For more information on how to safely handle IAM credentials, see http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
password
- When included in a request, the parameter depends on the repository type.
For Amazon S3 bundles, set Password
to the appropriate IAM secret access key.
For HTTP bundles and Subversion repositories, set Password
to the password.
For more information on how to safely handle IAM credentials, see http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
Source.Builder sshKey(String sshKey)
In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
sshKey
- In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
Source.Builder revision(String 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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.