com.azure.resourcemanager.storage.models.ObjectReplicationPolicies Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-storage Show documentation
Show all versions of azure-resourcemanager-storage Show documentation
This package contains Microsoft Azure Storage Management SDK.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.storage.fluent.models.ObjectReplicationPolicyInner;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* List storage account object replication policies.
*/
@Fluent
public final class ObjectReplicationPolicies {
/*
* The replication policy between two storage accounts.
*/
@JsonProperty(value = "value")
private List value;
/**
* Creates an instance of ObjectReplicationPolicies class.
*/
public ObjectReplicationPolicies() {
}
/**
* Get the value property: The replication policy between two storage accounts.
*
* @return the value value.
*/
public List value() {
return this.value;
}
/**
* Set the value property: The replication policy between two storage accounts.
*
* @param value the value value to set.
* @return the ObjectReplicationPolicies object itself.
*/
public ObjectReplicationPolicies withValue(List value) {
this.value = value;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (value() != null) {
value().forEach(e -> e.validate());
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy