Class ResourceState

    • Method Detail

      • ec2

        public final State ec2()

        An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

        Returns:
        An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
      • ecr

        public final State ecr()

        An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

        Returns:
        An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
      • lambda

        public final State lambda()
        Returns the value of the Lambda property for this object.
        Returns:
        The value of the Lambda property for this object.
      • lambdaCode

        public final State lambdaCode()
        Returns the value of the LambdaCode property for this object.
        Returns:
        The value of the LambdaCode property for this object.
      • 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)