Class ReplicationUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.ReplicationUpdateParameters
-
public final class ReplicationUpdateParameters extends Object
The parameters for updating a replication.
-
-
Constructor Summary
Constructors Constructor Description ReplicationUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanregionEndpointEnabled()Get the regionEndpointEnabled property: Specifies whether the replication's regional endpoint is enabled.Map<String,String>tags()Get the tags property: The tags for the replication.voidvalidate()Validates the instance.ReplicationUpdateParameterswithRegionEndpointEnabled(Boolean regionEndpointEnabled)Set the regionEndpointEnabled property: Specifies whether the replication's regional endpoint is enabled.ReplicationUpdateParameterswithTags(Map<String,String> tags)Set the tags property: The tags for the replication.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: The tags for the replication.- Returns:
- the tags value.
-
withTags
public ReplicationUpdateParameters withTags(Map<String,String> tags)
Set the tags property: The tags for the replication.- Parameters:
tags- the tags value to set.- Returns:
- the ReplicationUpdateParameters object itself.
-
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.
-
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:
regionEndpointEnabled- the regionEndpointEnabled value to set.- Returns:
- the ReplicationUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-