TriggerRolloverRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.TriggerRolloverRequest

Implements

public final class TriggerRolloverRequest
implements JsonSerializable<TriggerRolloverRequest>

Trigger Rollover Request.

Constructor Summary

Constructor Description
TriggerRolloverRequest()

Creates an instance of TriggerRolloverRequest class.

Method Summary

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

Reads an instance of TriggerRolloverRequest from the JsonReader.

String serverCertificate()

Get the serverCertificate property: Certificate Data.

JsonWriter toJson(JsonWriter jsonWriter)
TriggerRolloverRequest withServerCertificate(String serverCertificate)

Set the serverCertificate property: Certificate Data.

Methods inherited from java.lang.Object

Constructor Details

TriggerRolloverRequest

public TriggerRolloverRequest()

Creates an instance of TriggerRolloverRequest class.

Method Details

fromJson

public static TriggerRolloverRequest fromJson(JsonReader jsonReader)

Reads an instance of TriggerRolloverRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

serverCertificate

public String serverCertificate()

Get the serverCertificate property: Certificate Data.

Returns:

the serverCertificate value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withServerCertificate

public TriggerRolloverRequest withServerCertificate(String serverCertificate)

Set the serverCertificate property: Certificate Data.

Parameters:

serverCertificate - the serverCertificate value to set.

Returns:

the TriggerRolloverRequest object itself.

Applies to