ProfilePropertiesUpdateParameters Class

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

Implements

public final class ProfilePropertiesUpdateParameters
implements JsonSerializable<ProfilePropertiesUpdateParameters>

The JSON object containing profile update parameters.

Constructor Summary

Constructor Description
ProfilePropertiesUpdateParameters()

Creates an instance of ProfilePropertiesUpdateParameters class.

Method Summary

Modifier and Type Method and Description
static ProfilePropertiesUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of ProfilePropertiesUpdateParameters from the JsonReader.

ProfileLogScrubbing logScrubbing()

Get the logScrubbing property: Defines rules to scrub sensitive fields in logs.

Integer originResponseTimeoutSeconds()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProfilePropertiesUpdateParameters withLogScrubbing(ProfileLogScrubbing logScrubbing)

Set the logScrubbing property: Defines rules to scrub sensitive fields in logs.

ProfilePropertiesUpdateParameters 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

ProfilePropertiesUpdateParameters

public ProfilePropertiesUpdateParameters()

Creates an instance of ProfilePropertiesUpdateParameters class.

Method Details

fromJson

public static ProfilePropertiesUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of ProfilePropertiesUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

logScrubbing

public ProfileLogScrubbing logScrubbing()

Get the logScrubbing property: Defines rules to scrub sensitive fields in 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLogScrubbing

public ProfilePropertiesUpdateParameters withLogScrubbing(ProfileLogScrubbing logScrubbing)

Set the logScrubbing property: Defines rules to scrub sensitive fields in logs.

Parameters:

logScrubbing - the logScrubbing value to set.

Returns:

the ProfilePropertiesUpdateParameters object itself.

withOriginResponseTimeoutSeconds

public ProfilePropertiesUpdateParameters 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 ProfilePropertiesUpdateParameters object itself.

Applies to