PublicIpDdosProtectionStatusResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. PublicIpDdosProtectionStatusResultInner
- com.
Implements
public final class PublicIpDdosProtectionStatusResultInner
implements JsonSerializable<PublicIpDdosProtectionStatusResultInner>
Response for GetPublicIpAddressDdosProtectionStatusOperation API service call.
Constructor Summary
Constructor | Description |
---|---|
PublicIpDdosProtectionStatusResultInner() |
Creates an instance of Public |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
ddosProtectionPlanId()
Get the ddos |
static
Public |
fromJson(JsonReader jsonReader)
Reads an instance of Public |
Is |
isWorkloadProtected()
Get the is |
String |
publicIpAddress()
Get the public |
String |
publicIpAddressId()
Get the public |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Public |
withDdosProtectionPlanId(String ddosProtectionPlanId)
Set the ddos |
Public |
withIsWorkloadProtected(IsWorkloadProtected isWorkloadProtected)
Set the is |
Public |
withPublicIpAddress(String publicIpAddress)
Set the public |
Public |
withPublicIpAddressId(String publicIpAddressId)
Set the public |
Methods inherited from java.lang.Object
Constructor Details
PublicIpDdosProtectionStatusResultInner
public PublicIpDdosProtectionStatusResultInner()
Creates an instance of PublicIpDdosProtectionStatusResultInner class.
Method Details
ddosProtectionPlanId
public String ddosProtectionPlanId()
Get the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a plan.
Returns:
fromJson
public static PublicIpDdosProtectionStatusResultInner fromJson(JsonReader jsonReader)
Reads an instance of PublicIpDdosProtectionStatusResultInner from the JsonReader.
Parameters:
Returns:
Throws:
isWorkloadProtected
public IsWorkloadProtected isWorkloadProtected()
Get the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.
Returns:
publicIpAddress
public String publicIpAddress()
Get the publicIpAddress property: IP Address of the Public IP Resource.
Returns:
publicIpAddressId
public String publicIpAddressId()
Get the publicIpAddressId property: Public IP ARM resource ID.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withIsWorkloadProtected
public PublicIpDdosProtectionStatusResultInner withIsWorkloadProtected(IsWorkloadProtected isWorkloadProtected)
Set the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.
Parameters:
Returns:
withPublicIpAddress
public PublicIpDdosProtectionStatusResultInner withPublicIpAddress(String publicIpAddress)
Set the publicIpAddress property: IP Address of the Public IP Resource.
Parameters:
Returns:
withPublicIpAddressId
public PublicIpDdosProtectionStatusResultInner withPublicIpAddressId(String publicIpAddressId)
Set the publicIpAddressId property: Public IP ARM resource ID.
Parameters:
Returns:
Applies to
Azure SDK for Java