Class Policy

    • Method Detail

      • httpInputs

        public final InputPolicy httpInputs()
        Allow or disallow jobs that specify HTTP inputs.

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

        Returns:
        Allow or disallow jobs that specify HTTP inputs.
        See Also:
        InputPolicy
      • httpInputsAsString

        public final String httpInputsAsString()
        Allow or disallow jobs that specify HTTP inputs.

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

        Returns:
        Allow or disallow jobs that specify HTTP inputs.
        See Also:
        InputPolicy
      • httpsInputs

        public final InputPolicy httpsInputs()
        Allow or disallow jobs that specify HTTPS inputs.

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

        Returns:
        Allow or disallow jobs that specify HTTPS inputs.
        See Also:
        InputPolicy
      • httpsInputsAsString

        public final String httpsInputsAsString()
        Allow or disallow jobs that specify HTTPS inputs.

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

        Returns:
        Allow or disallow jobs that specify HTTPS inputs.
        See Also:
        InputPolicy
      • s3Inputs

        public final InputPolicy s3Inputs()
        Allow or disallow jobs that specify Amazon S3 inputs.

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

        Returns:
        Allow or disallow jobs that specify Amazon S3 inputs.
        See Also:
        InputPolicy
      • s3InputsAsString

        public final String s3InputsAsString()
        Allow or disallow jobs that specify Amazon S3 inputs.

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

        Returns:
        Allow or disallow jobs that specify Amazon S3 inputs.
        See Also:
        InputPolicy
      • serializableBuilderClass

        public static Class<? extends Policy.Builder> serializableBuilderClass()
      • 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)