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 Details

    • 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:
    • 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

      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.

      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

      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 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

      Source.Builder sshKey(String 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

      Source.Builder revision(String 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.