Interface RevisionLocation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RevisionLocation.Builder,RevisionLocation>, SdkBuilder<RevisionLocation.Builder,RevisionLocation>, SdkPojo
Enclosing class:
RevisionLocation

public static interface RevisionLocation.Builder extends SdkPojo, CopyableBuilder<RevisionLocation.Builder,RevisionLocation>
  • Method Details

    • revisionType

      RevisionLocation.Builder revisionType(String revisionType)

      The type of application revision:

      • S3: An application revision stored in Amazon S3.

      • GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).

      • String: A YAML-formatted or JSON-formatted string (Lambda deployments only).

      • AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.

      Parameters:
      revisionType - The type of application revision:

      • S3: An application revision stored in Amazon S3.

      • GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).

      • String: A YAML-formatted or JSON-formatted string (Lambda deployments only).

      • AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • revisionType

      RevisionLocation.Builder revisionType(RevisionLocationType revisionType)

      The type of application revision:

      • S3: An application revision stored in Amazon S3.

      • GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).

      • String: A YAML-formatted or JSON-formatted string (Lambda deployments only).

      • AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.

      Parameters:
      revisionType - The type of application revision:

      • S3: An application revision stored in Amazon S3.

      • GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).

      • String: A YAML-formatted or JSON-formatted string (Lambda deployments only).

      • AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • s3Location

      RevisionLocation.Builder s3Location(S3Location s3Location)

      Information about the location of a revision stored in Amazon S3.

      Parameters:
      s3Location - Information about the location of a revision stored in Amazon S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Location

      default RevisionLocation.Builder s3Location(Consumer<S3Location.Builder> s3Location)

      Information about the location of a revision stored in Amazon S3.

      This is a convenience method that creates an instance of the S3Location.Builder avoiding the need to create one manually via S3Location.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3Location(S3Location).

      Parameters:
      s3Location - a consumer that will call methods on S3Location.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • gitHubLocation

      RevisionLocation.Builder gitHubLocation(GitHubLocation gitHubLocation)

      Information about the location of application artifacts stored in GitHub.

      Parameters:
      gitHubLocation - Information about the location of application artifacts stored in GitHub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gitHubLocation

      default RevisionLocation.Builder gitHubLocation(Consumer<GitHubLocation.Builder> gitHubLocation)

      Information about the location of application artifacts stored in GitHub.

      This is a convenience method that creates an instance of the GitHubLocation.Builder avoiding the need to create one manually via GitHubLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to gitHubLocation(GitHubLocation).

      Parameters:
      gitHubLocation - a consumer that will call methods on GitHubLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • string

      Information about the location of an Lambda deployment revision stored as a RawString.

      Parameters:
      string - Information about the location of an Lambda deployment revision stored as a RawString.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • string

      Information about the location of an Lambda deployment revision stored as a RawString.

      This is a convenience method that creates an instance of the RawString.Builder avoiding the need to create one manually via RawString.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to string(RawString).

      Parameters:
      string - a consumer that will call methods on RawString.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • appSpecContent

      RevisionLocation.Builder appSpecContent(AppSpecContent appSpecContent)

      The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.

      Parameters:
      appSpecContent - The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appSpecContent

      default RevisionLocation.Builder appSpecContent(Consumer<AppSpecContent.Builder> appSpecContent)

      The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.

      This is a convenience method that creates an instance of the AppSpecContent.Builder avoiding the need to create one manually via AppSpecContent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to appSpecContent(AppSpecContent).

      Parameters:
      appSpecContent - a consumer that will call methods on AppSpecContent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: