com.pulumi.azurenative.dataprotection.outputs.BlobBackupDatasourceParametersResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class BlobBackupDatasourceParametersResponse {
/**
* @return List of containers to be backed up during configuration of backup of blobs
*
*/
private List containersList;
/**
* @return Type of the specific object - used for deserializing
* Expected value is 'BlobBackupDatasourceParameters'.
*
*/
private String objectType;
private BlobBackupDatasourceParametersResponse() {}
/**
* @return List of containers to be backed up during configuration of backup of blobs
*
*/
public List containersList() {
return this.containersList;
}
/**
* @return Type of the specific object - used for deserializing
* Expected value is 'BlobBackupDatasourceParameters'.
*
*/
public String objectType() {
return this.objectType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BlobBackupDatasourceParametersResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List containersList;
private String objectType;
public Builder() {}
public Builder(BlobBackupDatasourceParametersResponse defaults) {
Objects.requireNonNull(defaults);
this.containersList = defaults.containersList;
this.objectType = defaults.objectType;
}
@CustomType.Setter
public Builder containersList(List containersList) {
if (containersList == null) {
throw new MissingRequiredPropertyException("BlobBackupDatasourceParametersResponse", "containersList");
}
this.containersList = containersList;
return this;
}
public Builder containersList(String... containersList) {
return containersList(List.of(containersList));
}
@CustomType.Setter
public Builder objectType(String objectType) {
if (objectType == null) {
throw new MissingRequiredPropertyException("BlobBackupDatasourceParametersResponse", "objectType");
}
this.objectType = objectType;
return this;
}
public BlobBackupDatasourceParametersResponse build() {
final var _resultValue = new BlobBackupDatasourceParametersResponse();
_resultValue.containersList = containersList;
_resultValue.objectType = objectType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy