ReplicationUpdateParametersProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.ReplicationUpdateParametersProperties

Implements

public final class ReplicationUpdateParametersProperties
implements JsonSerializable<ReplicationUpdateParametersProperties>

The ReplicationUpdateParametersProperties model.

Constructor Summary

Constructor Description
ReplicationUpdateParametersProperties()

Creates an instance of ReplicationUpdateParametersProperties class.

Method Summary

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

Reads an instance of ReplicationUpdateParametersProperties from the JsonReader.

Boolean regionEndpointEnabled()

Get the regionEndpointEnabled property: Specifies whether the replication's regional endpoint is enabled.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ReplicationUpdateParametersProperties withRegionEndpointEnabled(Boolean regionEndpointEnabled)

Set the regionEndpointEnabled property: Specifies whether the replication's regional endpoint is enabled.

Methods inherited from java.lang.Object

Constructor Details

ReplicationUpdateParametersProperties

public ReplicationUpdateParametersProperties()

Creates an instance of ReplicationUpdateParametersProperties class.

Method Details

fromJson

public static ReplicationUpdateParametersProperties fromJson(JsonReader jsonReader)

Reads an instance of ReplicationUpdateParametersProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

regionEndpointEnabled

public Boolean regionEndpointEnabled()

Get the regionEndpointEnabled property: Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.

Returns:

the regionEndpointEnabled value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRegionEndpointEnabled

public ReplicationUpdateParametersProperties withRegionEndpointEnabled(Boolean regionEndpointEnabled)

Set the regionEndpointEnabled property: Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.

Parameters:

regionEndpointEnabled - the regionEndpointEnabled value to set.

Returns:

the ReplicationUpdateParametersProperties object itself.

Applies to