Interface Source.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Source.Builder,
,Source> SdkBuilder<Source.Builder,
,Source> SdkPojo
- Enclosing class:
Source
-
Method Summary
Modifier and TypeMethodDescriptionWhen included in a request, the parameter depends on the repository type.The application's version.In requests, the repository's SSH key.The repository type.type
(SourceType type) The repository type.The source URL.This parameter depends on the repository type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
The repository type.
- Parameters:
type
- The repository type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The repository type.
- Parameters:
type
- The repository type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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 https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.
In responses, OpsWorks Stacks returns
*****FILTERED*****
instead of the actual value.- Parameters:
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 https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.
In responses, OpsWorks Stacks returns
*****FILTERED*****
instead of the actual value.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
sshKey
In requests, the repository's SSH key.
In responses, OpsWorks Stacks returns
*****FILTERED*****
instead of the actual value.- Parameters:
sshKey
- In requests, the repository's SSH key.In responses, OpsWorks Stacks returns
*****FILTERED*****
instead of the actual value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The application's version. 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.
- Parameters:
revision
- The application's version. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-