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 Summary
ConstructorsConstructorDescriptionCreates an instance of PublicIpDdosProtectionStatusResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a plan.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PublicIpDdosProtectionStatusResultInner from the JsonReader.Get the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.Get the publicIpAddress property: IP Address of the Public IP Resource.Get the publicIpAddressId property: Public IP ARM resource ID.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDdosProtectionPlanId(String ddosProtectionPlanId) Set the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a plan.withIsWorkloadProtected(IsWorkloadProtected isWorkloadProtected) Set the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.withPublicIpAddress(String publicIpAddress) Set the publicIpAddress property: IP Address of the Public IP Resource.withPublicIpAddressId(String publicIpAddressId) Set the publicIpAddressId property: Public IP ARM resource ID.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
PublicIpDdosProtectionStatusResultInner
public PublicIpDdosProtectionStatusResultInner()Creates an instance of PublicIpDdosProtectionStatusResultInner class.
-
-
Method Details
-
publicIpAddressId
Get the publicIpAddressId property: Public IP ARM resource ID.- Returns:
- the publicIpAddressId value.
-
withPublicIpAddressId
Set the publicIpAddressId property: Public IP ARM resource ID.- Parameters:
publicIpAddressId- the publicIpAddressId value to set.- Returns:
- the PublicIpDdosProtectionStatusResultInner object itself.
-
publicIpAddress
Get the publicIpAddress property: IP Address of the Public IP Resource.- Returns:
- the publicIpAddress value.
-
withPublicIpAddress
Set the publicIpAddress property: IP Address of the Public IP Resource.- Parameters:
publicIpAddress- the publicIpAddress value to set.- Returns:
- the PublicIpDdosProtectionStatusResultInner object itself.
-
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
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
- Specified by:
toJsonin interfacecom.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.
-