Class SecureScoreItemInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.SecureScoreItemInner

public final class SecureScoreItemInner extends com.azure.core.management.ProxyResource
Secure score item data model.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of SecureScoreItemInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the current property: Current score.
    Get the displayName property: The initiative’s name.
    max()
    Get the max property: Maximum score available.
    Get the percentage property: Ratio of the current score divided by the maximum.
    void
    Validates the instance.
    Get the weight property: The relative weight for each subscription.

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SecureScoreItemInner

      public SecureScoreItemInner()
      Creates an instance of SecureScoreItemInner class.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: The initiative’s name.
      Returns:
      the displayName value.
    • weight

      public Long weight()
      Get the weight property: The relative weight for each subscription. Used when calculating an aggregated secure score for multiple subscriptions.
      Returns:
      the weight value.
    • max

      public Integer max()
      Get the max property: Maximum score available.
      Returns:
      the max value.
    • current

      public Double current()
      Get the current property: Current score.
      Returns:
      the current value.
    • percentage

      public Double percentage()
      Get the percentage property: Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point.
      Returns:
      the percentage value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.