Interface BuildArtifacts.Builder

    • Method Detail

      • location

        BuildArtifacts.Builder location​(String location)

        Information about the location of the build artifacts.

        Parameters:
        location - Information about the location of the build artifacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sha256sum

        BuildArtifacts.Builder sha256sum​(String sha256sum)

        The SHA-256 hash of the build artifact.

        You can use this hash along with a checksum tool to confirm file integrity and authenticity.

        This value is available only if the build project's packaging value is set to ZIP.

        Parameters:
        sha256sum - The SHA-256 hash of the build artifact.

        You can use this hash along with a checksum tool to confirm file integrity and authenticity.

        This value is available only if the build project's packaging value is set to ZIP.

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

        BuildArtifacts.Builder md5sum​(String md5sum)

        The MD5 hash of the build artifact.

        You can use this hash along with a checksum tool to confirm file integrity and authenticity.

        This value is available only if the build project's packaging value is set to ZIP.

        Parameters:
        md5sum - The MD5 hash of the build artifact.

        You can use this hash along with a checksum tool to confirm file integrity and authenticity.

        This value is available only if the build project's packaging value is set to ZIP.

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

        BuildArtifacts.Builder overrideArtifactName​(Boolean overrideArtifactName)

        If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.

        Parameters:
        overrideArtifactName - If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionDisabled

        BuildArtifacts.Builder encryptionDisabled​(Boolean encryptionDisabled)

        Information that tells you if encryption for build artifacts is disabled.

        Parameters:
        encryptionDisabled - Information that tells you if encryption for build artifacts is disabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • artifactIdentifier

        BuildArtifacts.Builder artifactIdentifier​(String artifactIdentifier)

        An identifier for this artifact definition.

        Parameters:
        artifactIdentifier - An identifier for this artifact definition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketOwnerAccess

        BuildArtifacts.Builder bucketOwnerAccess​(String bucketOwnerAccess)
        Sets the value of the BucketOwnerAccess property for this object.
        Parameters:
        bucketOwnerAccess - The new value for the BucketOwnerAccess property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BucketOwnerAccess, BucketOwnerAccess
      • bucketOwnerAccess

        BuildArtifacts.Builder bucketOwnerAccess​(BucketOwnerAccess bucketOwnerAccess)
        Sets the value of the BucketOwnerAccess property for this object.
        Parameters:
        bucketOwnerAccess - The new value for the BucketOwnerAccess property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BucketOwnerAccess, BucketOwnerAccess