Class AwsCodeBuildProjectArtifactsDetails

    • Method Detail

      • artifactIdentifier

        public final String artifactIdentifier()

        An identifier for the artifact definition.

        Returns:
        An identifier for the artifact definition.
      • encryptionDisabled

        public final Boolean encryptionDisabled()

        Indicates whether to disable encryption on the artifact. Only valid when Type is S3.

        Returns:
        Indicates whether to disable encryption on the artifact. Only valid when Type is S3.
      • location

        public final String location()

        Only used when Type is S3. The name of the S3 bucket where the artifact is located.

        Returns:
        Only used when Type is S3. The name of the S3 bucket where the artifact is located.
      • name

        public final String name()

        Only used when Type is S3. The name of the artifact. Used with NamepaceType and Path to determine the pattern for storing the artifact.

        Returns:
        Only used when Type is S3. The name of the artifact. Used with NamepaceType and Path to determine the pattern for storing the artifact.
      • namespaceType

        public final String namespaceType()

        Only used when Type is S3. The value to use for the namespace. Used with Name and Path to determine the pattern for storing the artifact.

        Returns:
        Only used when Type is S3. The value to use for the namespace. Used with Name and Path to determine the pattern for storing the artifact.
      • overrideArtifactName

        public final Boolean overrideArtifactName()

        Whether the name specified in the buildspec file overrides the artifact name.

        Returns:
        Whether the name specified in the buildspec file overrides the artifact name.
      • packaging

        public final String packaging()

        Only used when Type is S3. The type of output artifact to create.

        Returns:
        Only used when Type is S3. The type of output artifact to create.
      • path

        public final String path()

        Only used when Type is S3. The path to the artifact. Used with Name and NamespaceType to determine the pattern for storing the artifact.

        Returns:
        Only used when Type is S3. The path to the artifact. Used with Name and NamespaceType to determine the pattern for storing the artifact.
      • type

        public final String type()

        The type of build artifact.

        Returns:
        The type of build artifact.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)