com.pulumi.azurenative.dataprotection.outputs.TargetCopySettingResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.dataprotection.outputs;
import com.pulumi.azurenative.dataprotection.outputs.CopyOnExpiryOptionResponse;
import com.pulumi.azurenative.dataprotection.outputs.CustomCopyOptionResponse;
import com.pulumi.azurenative.dataprotection.outputs.DataStoreInfoBaseResponse;
import com.pulumi.azurenative.dataprotection.outputs.ImmediateCopyOptionResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.util.Objects;
@CustomType
public final class TargetCopySettingResponse {
/**
* @return It can be CustomCopyOption or ImmediateCopyOption.
*
*/
private Object copyAfter;
/**
* @return Info of target datastore
*
*/
private DataStoreInfoBaseResponse dataStore;
private TargetCopySettingResponse() {}
/**
* @return It can be CustomCopyOption or ImmediateCopyOption.
*
*/
public Object copyAfter() {
return this.copyAfter;
}
/**
* @return Info of target datastore
*
*/
public DataStoreInfoBaseResponse dataStore() {
return this.dataStore;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TargetCopySettingResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Object copyAfter;
private DataStoreInfoBaseResponse dataStore;
public Builder() {}
public Builder(TargetCopySettingResponse defaults) {
Objects.requireNonNull(defaults);
this.copyAfter = defaults.copyAfter;
this.dataStore = defaults.dataStore;
}
@CustomType.Setter
public Builder copyAfter(Object copyAfter) {
if (copyAfter == null) {
throw new MissingRequiredPropertyException("TargetCopySettingResponse", "copyAfter");
}
this.copyAfter = copyAfter;
return this;
}
@CustomType.Setter
public Builder dataStore(DataStoreInfoBaseResponse dataStore) {
if (dataStore == null) {
throw new MissingRequiredPropertyException("TargetCopySettingResponse", "dataStore");
}
this.dataStore = dataStore;
return this;
}
public TargetCopySettingResponse build() {
final var _resultValue = new TargetCopySettingResponse();
_resultValue.copyAfter = copyAfter;
_resultValue.dataStore = dataStore;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy