Interface Source.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Source.Builder,Source>,SdkBuilder<Source.Builder,Source>,SdkPojo
- Enclosing class:
- Source
public static interface Source.Builder extends SdkPojo, CopyableBuilder<Source.Builder,Source>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Source.Builderpassword(String password)When included in a request, the parameter depends on the repository type.Source.Builderrevision(String revision)The application's version.Source.BuildersshKey(String sshKey)In requests, the repository's SSH key.Source.Buildertype(String type)The repository type.Source.Buildertype(SourceType type)The repository type.Source.Builderurl(String url)The source URL.Source.Builderusername(String username)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 Detail
-
type
Source.Builder type(String 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:
SourceType,SourceType
-
type
Source.Builder type(SourceType 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:
SourceType,SourceType
-
url
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.- 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
Source.Builder username(String username)
This parameter depends on the repository type.
-
For Amazon S3 bundles, set
Usernameto the appropriate IAM access key ID. -
For HTTP bundles, Git repositories, and Subversion repositories, set
Usernameto the user name.
- Parameters:
username- This parameter depends on the repository type.-
For Amazon S3 bundles, set
Usernameto the appropriate IAM access key ID. -
For HTTP bundles, Git repositories, and Subversion repositories, set
Usernameto the user name.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
password
Source.Builder password(String password)
When included in a request, the parameter depends on the repository type.
-
For Amazon S3 bundles, set
Passwordto the appropriate IAM secret access key. -
For HTTP bundles and Subversion repositories, set
Passwordto 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, AWS 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
Passwordto the appropriate IAM secret access key. -
For HTTP bundles and Subversion repositories, set
Passwordto 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, AWS 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
Source.Builder sshKey(String sshKey)
In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns
*****FILTERED*****instead of the actual value.- Parameters:
sshKey- In requests, the repository's SSH key.In responses, AWS 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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-