
com.pulumi.azurenative.databox.outputs.DataExportDetailsResponse 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.azurenative.databox.outputs.ManagedDiskDetailsResponse;
import com.pulumi.azurenative.databox.outputs.StorageAccountDetailsResponse;
import com.pulumi.azurenative.databox.outputs.TransferConfigurationResponse;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataExportDetailsResponse {
/**
* @return Account details of the data to be transferred
*
*/
private Either accountDetails;
/**
* @return Level of the logs to be collected.
*
*/
private @Nullable String logCollectionLevel;
/**
* @return Configuration for the data transfer.
*
*/
private TransferConfigurationResponse transferConfiguration;
private DataExportDetailsResponse() {}
/**
* @return Account details of the data to be transferred
*
*/
public Either accountDetails() {
return this.accountDetails;
}
/**
* @return Level of the logs to be collected.
*
*/
public Optional logCollectionLevel() {
return Optional.ofNullable(this.logCollectionLevel);
}
/**
* @return Configuration for the data transfer.
*
*/
public TransferConfigurationResponse transferConfiguration() {
return this.transferConfiguration;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataExportDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Either accountDetails;
private @Nullable String logCollectionLevel;
private TransferConfigurationResponse transferConfiguration;
public Builder() {}
public Builder(DataExportDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.accountDetails = defaults.accountDetails;
this.logCollectionLevel = defaults.logCollectionLevel;
this.transferConfiguration = defaults.transferConfiguration;
}
@CustomType.Setter
public Builder accountDetails(Either accountDetails) {
if (accountDetails == null) {
throw new MissingRequiredPropertyException("DataExportDetailsResponse", "accountDetails");
}
this.accountDetails = accountDetails;
return this;
}
@CustomType.Setter
public Builder logCollectionLevel(@Nullable String logCollectionLevel) {
this.logCollectionLevel = logCollectionLevel;
return this;
}
@CustomType.Setter
public Builder transferConfiguration(TransferConfigurationResponse transferConfiguration) {
if (transferConfiguration == null) {
throw new MissingRequiredPropertyException("DataExportDetailsResponse", "transferConfiguration");
}
this.transferConfiguration = transferConfiguration;
return this;
}
public DataExportDetailsResponse build() {
final var _resultValue = new DataExportDetailsResponse();
_resultValue.accountDetails = accountDetails;
_resultValue.logCollectionLevel = logCollectionLevel;
_resultValue.transferConfiguration = transferConfiguration;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy