Interface RevisionLocation.Builder

    • Method Detail

      • 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:
        RevisionLocationType, RevisionLocationType
      • 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:
        RevisionLocationType, RevisionLocationType
      • 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.
      • 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.
      • string

        RevisionLocation.Builder string​(RawString 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.
      • 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.