Class MitigationAction

    • Method Detail

      • name

        public final String name()

        A user-friendly name for the mitigation action.

        Returns:
        A user-friendly name for the mitigation action.
      • id

        public final String id()

        A unique identifier for the mitigation action.

        Returns:
        A unique identifier for the mitigation action.
      • roleArn

        public final String roleArn()

        The IAM role ARN used to apply this mitigation action.

        Returns:
        The IAM role ARN used to apply this mitigation action.
      • actionParams

        public final MitigationActionParams actionParams()

        The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.

        Returns:
        The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
      • 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)