Class PublicIpDdosProtectionStatusResultInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.PublicIpDdosProtectionStatusResultInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<PublicIpDdosProtectionStatusResultInner>

public final class PublicIpDdosProtectionStatusResultInner extends Object implements com.azure.json.JsonSerializable<PublicIpDdosProtectionStatusResultInner>
Response for GetPublicIpAddressDdosProtectionStatusOperation API service call.
  • Constructor Details

    • PublicIpDdosProtectionStatusResultInner

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

    • publicIpAddressId

      public String publicIpAddressId()
      Get the publicIpAddressId property: Public IP ARM resource ID.
      Returns:
      the publicIpAddressId value.
    • withPublicIpAddressId

      public PublicIpDdosProtectionStatusResultInner withPublicIpAddressId(String publicIpAddressId)
      Set the publicIpAddressId property: Public IP ARM resource ID.
      Parameters:
      publicIpAddressId - the publicIpAddressId value to set.
      Returns:
      the PublicIpDdosProtectionStatusResultInner object itself.
    • publicIpAddress

      public String publicIpAddress()
      Get the publicIpAddress property: IP Address of the Public IP Resource.
      Returns:
      the publicIpAddress value.
    • withPublicIpAddress

      public PublicIpDdosProtectionStatusResultInner withPublicIpAddress(String publicIpAddress)
      Set the publicIpAddress property: IP Address of the Public IP Resource.
      Parameters:
      publicIpAddress - the publicIpAddress value to set.
      Returns:
      the PublicIpDdosProtectionStatusResultInner object itself.
    • isWorkloadProtected

      public IsWorkloadProtected isWorkloadProtected()
      Get the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.
      Returns:
      the isWorkloadProtected value.
    • withIsWorkloadProtected

      public PublicIpDdosProtectionStatusResultInner withIsWorkloadProtected(IsWorkloadProtected isWorkloadProtected)
      Set the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.
      Parameters:
      isWorkloadProtected - the isWorkloadProtected value to set.
      Returns:
      the PublicIpDdosProtectionStatusResultInner object itself.
    • ddosProtectionPlanId

      public String ddosProtectionPlanId()
      Get the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a plan.
      Returns:
      the ddosProtectionPlanId value.
    • withDdosProtectionPlanId

      public PublicIpDdosProtectionStatusResultInner withDdosProtectionPlanId(String ddosProtectionPlanId)
      Set the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a plan.
      Parameters:
      ddosProtectionPlanId - the ddosProtectionPlanId value to set.
      Returns:
      the PublicIpDdosProtectionStatusResultInner object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<PublicIpDdosProtectionStatusResultInner>
      Throws:
      IOException
    • fromJson

      public static PublicIpDdosProtectionStatusResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of PublicIpDdosProtectionStatusResultInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of PublicIpDdosProtectionStatusResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the PublicIpDdosProtectionStatusResultInner.