ProfileProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.ProfileProperties

Implements

public final class ProfileProperties
implements JsonSerializable<ProfileProperties>

The JSON object that contains the properties required to create a profile.

Constructor Summary

Constructor Description
ProfileProperties()

Creates an instance of ProfileProperties class.

Method Summary

Modifier and Type Method and Description
Map<String,String> extendedProperties()

Get the extendedProperties property: Key-Value pair representing additional properties for profiles.

static ProfileProperties fromJson(JsonReader jsonReader)

Reads an instance of ProfileProperties from the JsonReader.

String frontDoorId()

Get the frontDoorId property: The Id of the frontdoor.

ProfileLogScrubbing logScrubbing()

Get the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

Integer originResponseTimeoutSeconds()

Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.

ProfileProvisioningState provisioningState()

Get the provisioningState property: Provisioning status of the profile.

ProfileResourceState resourceState()

Get the resourceState property: Resource status of the profile.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProfileProperties withLogScrubbing(ProfileLogScrubbing logScrubbing)

Set the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

ProfileProperties withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)

Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.

Methods inherited from java.lang.Object

Constructor Details

ProfileProperties

public ProfileProperties()

Creates an instance of ProfileProperties class.

Method Details

extendedProperties

public Map<String,String> extendedProperties()

Get the extendedProperties property: Key-Value pair representing additional properties for profiles.

Returns:

the extendedProperties value.

fromJson

public static ProfileProperties fromJson(JsonReader jsonReader)

Reads an instance of ProfileProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProfileProperties 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 ProfileProperties.

frontDoorId

public String frontDoorId()

Get the frontDoorId property: The Id of the frontdoor.

Returns:

the frontDoorId value.

logScrubbing

public ProfileLogScrubbing logScrubbing()

Get the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

Returns:

the logScrubbing value.

originResponseTimeoutSeconds

public Integer originResponseTimeoutSeconds()

Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.

Returns:

the originResponseTimeoutSeconds value.

provisioningState

public ProfileProvisioningState provisioningState()

Get the provisioningState property: Provisioning status of the profile.

Returns:

the provisioningState value.

resourceState

public ProfileResourceState resourceState()

Get the resourceState property: Resource status of the profile.

Returns:

the resourceState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLogScrubbing

public ProfileProperties withLogScrubbing(ProfileLogScrubbing logScrubbing)

Set the logScrubbing property: Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

Parameters:

logScrubbing - the logScrubbing value to set.

Returns:

the ProfileProperties object itself.

withOriginResponseTimeoutSeconds

public ProfileProperties withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)

Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.

Parameters:

originResponseTimeoutSeconds - the originResponseTimeoutSeconds value to set.

Returns:

the ProfileProperties object itself.

Applies to