PublicIpDdosProtectionStatusResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.PublicIpDdosProtectionStatusResultInner

Implements

public final class PublicIpDdosProtectionStatusResultInner
implements JsonSerializable<PublicIpDdosProtectionStatusResultInner>

Response for GetPublicIpAddressDdosProtectionStatusOperation API service call.

Constructor Summary

Constructor Description
PublicIpDdosProtectionStatusResultInner()

Creates an instance of PublicIpDdosProtectionStatusResultInner class.

Method Summary

Modifier and Type Method and Description
String ddosProtectionPlanId()

Get the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a plan.

static PublicIpDdosProtectionStatusResultInner fromJson(JsonReader jsonReader)

Reads an instance of PublicIpDdosProtectionStatusResultInner from the JsonReader.

IsWorkloadProtected isWorkloadProtected()

Get the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.

String publicIpAddress()

Get the publicIpAddress property: IP Address of the Public IP Resource.

String publicIpAddressId()

Get the publicIpAddressId property: Public IP ARM resource ID.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PublicIpDdosProtectionStatusResultInner withDdosProtectionPlanId(String ddosProtectionPlanId)

Set the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a plan.

PublicIpDdosProtectionStatusResultInner withIsWorkloadProtected(IsWorkloadProtected isWorkloadProtected)

Set the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.

PublicIpDdosProtectionStatusResultInner withPublicIpAddress(String publicIpAddress)

Set the publicIpAddress property: IP Address of the Public IP Resource.

PublicIpDdosProtectionStatusResultInner withPublicIpAddressId(String publicIpAddressId)

Set the publicIpAddressId property: Public IP ARM resource ID.

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:

the ddosProtectionPlanId value.

fromJson

public static PublicIpDdosProtectionStatusResultInner fromJson(JsonReader jsonReader)

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.

isWorkloadProtected

public IsWorkloadProtected isWorkloadProtected()

Get the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not.

Returns:

the isWorkloadProtected value.

publicIpAddress

public String publicIpAddress()

Get the publicIpAddress property: IP Address of the Public IP Resource.

Returns:

the publicIpAddress value.

publicIpAddressId

public String publicIpAddressId()

Get the publicIpAddressId property: Public IP ARM resource ID.

Returns:

the publicIpAddressId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

ddosProtectionPlanId - the ddosProtectionPlanId value to set.

Returns:

the PublicIpDdosProtectionStatusResultInner object itself.

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.

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.

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.

Applies to