Class SourceRevisionOverride

    • Method Detail

      • actionName

        public final String actionName()

        The name of the action where the override will be applied.

        Returns:
        The name of the action where the override will be applied.
      • revisionType

        public final SourceRevisionType revisionType()

        The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.

        If the service returns an enum value that is not available in the current SDK version, revisionType will return SourceRevisionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from revisionTypeAsString().

        Returns:
        The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
        See Also:
        SourceRevisionType
      • revisionTypeAsString

        public final String revisionTypeAsString()

        The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.

        If the service returns an enum value that is not available in the current SDK version, revisionType will return SourceRevisionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from revisionTypeAsString().

        Returns:
        The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
        See Also:
        SourceRevisionType
      • revisionValue

        public final String revisionValue()

        The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.

        Returns:
        The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
      • 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)