
com.pulumi.azurenative.databox.outputs.TransferAllDetailsResponse 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.databox.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TransferAllDetailsResponse {
/**
* @return Type of the account of data
*
*/
private String dataAccountType;
/**
* @return To indicate if all Azure blobs have to be transferred
*
*/
private @Nullable Boolean transferAllBlobs;
/**
* @return To indicate if all Azure Files have to be transferred
*
*/
private @Nullable Boolean transferAllFiles;
private TransferAllDetailsResponse() {}
/**
* @return Type of the account of data
*
*/
public String dataAccountType() {
return this.dataAccountType;
}
/**
* @return To indicate if all Azure blobs have to be transferred
*
*/
public Optional transferAllBlobs() {
return Optional.ofNullable(this.transferAllBlobs);
}
/**
* @return To indicate if all Azure Files have to be transferred
*
*/
public Optional transferAllFiles() {
return Optional.ofNullable(this.transferAllFiles);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TransferAllDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String dataAccountType;
private @Nullable Boolean transferAllBlobs;
private @Nullable Boolean transferAllFiles;
public Builder() {}
public Builder(TransferAllDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.dataAccountType = defaults.dataAccountType;
this.transferAllBlobs = defaults.transferAllBlobs;
this.transferAllFiles = defaults.transferAllFiles;
}
@CustomType.Setter
public Builder dataAccountType(String dataAccountType) {
if (dataAccountType == null) {
throw new MissingRequiredPropertyException("TransferAllDetailsResponse", "dataAccountType");
}
this.dataAccountType = dataAccountType;
return this;
}
@CustomType.Setter
public Builder transferAllBlobs(@Nullable Boolean transferAllBlobs) {
this.transferAllBlobs = transferAllBlobs;
return this;
}
@CustomType.Setter
public Builder transferAllFiles(@Nullable Boolean transferAllFiles) {
this.transferAllFiles = transferAllFiles;
return this;
}
public TransferAllDetailsResponse build() {
final var _resultValue = new TransferAllDetailsResponse();
_resultValue.dataAccountType = dataAccountType;
_resultValue.transferAllBlobs = transferAllBlobs;
_resultValue.transferAllFiles = transferAllFiles;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy