
com.pulumi.azurenative.devcenter.outputs.CatalogSyncErrorResponse 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.devcenter.outputs;
import com.pulumi.azurenative.devcenter.outputs.CatalogErrorDetailsResponse;
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 CatalogSyncErrorResponse {
/**
* @return Errors associated with the file.
*
*/
private List errorDetails;
/**
* @return The path of the file the error is associated with.
*
*/
private String path;
private CatalogSyncErrorResponse() {}
/**
* @return Errors associated with the file.
*
*/
public List errorDetails() {
return this.errorDetails;
}
/**
* @return The path of the file the error is associated with.
*
*/
public String path() {
return this.path;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CatalogSyncErrorResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List errorDetails;
private String path;
public Builder() {}
public Builder(CatalogSyncErrorResponse defaults) {
Objects.requireNonNull(defaults);
this.errorDetails = defaults.errorDetails;
this.path = defaults.path;
}
@CustomType.Setter
public Builder errorDetails(List errorDetails) {
if (errorDetails == null) {
throw new MissingRequiredPropertyException("CatalogSyncErrorResponse", "errorDetails");
}
this.errorDetails = errorDetails;
return this;
}
public Builder errorDetails(CatalogErrorDetailsResponse... errorDetails) {
return errorDetails(List.of(errorDetails));
}
@CustomType.Setter
public Builder path(String path) {
if (path == null) {
throw new MissingRequiredPropertyException("CatalogSyncErrorResponse", "path");
}
this.path = path;
return this;
}
public CatalogSyncErrorResponse build() {
final var _resultValue = new CatalogSyncErrorResponse();
_resultValue.errorDetails = errorDetails;
_resultValue.path = path;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy