ReplicationUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. ReplicationUpdateParameters
- com.
Implements
public final class ReplicationUpdateParameters
implements JsonSerializable<ReplicationUpdateParameters>
The parameters for updating a replication.
Constructor Summary
| Constructor | Description |
|---|---|
| ReplicationUpdateParameters() |
Creates an instance of Replication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Replication |
fromJson(JsonReader jsonReader)
Reads an instance of Replication |
| Boolean |
regionEndpointEnabled()
Get the region |
| Map<String,String> |
tags()
Get the tags property: The tags for the replication. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Replication |
withRegionEndpointEnabled(Boolean regionEndpointEnabled)
Set the region |
|
Replication |
withTags(Map<String,String> tags)
Set the tags property: The tags for the replication. |
Methods inherited from java.lang.Object
Constructor Details
ReplicationUpdateParameters
public ReplicationUpdateParameters()
Creates an instance of ReplicationUpdateParameters class.
Method Details
fromJson
public static ReplicationUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of ReplicationUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
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:
tags
public Map<String,String> tags()
Get the tags property: The tags for the replication.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRegionEndpointEnabled
public ReplicationUpdateParameters 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:
Returns:
withTags
public ReplicationUpdateParameters withTags(Map<String,String> tags)
Set the tags property: The tags for the replication.
Parameters:
Returns: