All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.devcenter.outputs.GetCatalogSyncErrorDetailsResult Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.CatalogConflictErrorResponse;
import com.pulumi.azurenative.devcenter.outputs.CatalogErrorDetailsResponse;
import com.pulumi.azurenative.devcenter.outputs.CatalogSyncErrorResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetCatalogSyncErrorDetailsResult {
    /**
     * @return Catalog items that have conflicting names.
     * 
     */
    private List conflicts;
    /**
     * @return Errors that occured during synchronization.
     * 
     */
    private List errors;
    /**
     * @return Error information for the overall synchronization operation.
     * 
     */
    private CatalogErrorDetailsResponse operationError;

    private GetCatalogSyncErrorDetailsResult() {}
    /**
     * @return Catalog items that have conflicting names.
     * 
     */
    public List conflicts() {
        return this.conflicts;
    }
    /**
     * @return Errors that occured during synchronization.
     * 
     */
    public List errors() {
        return this.errors;
    }
    /**
     * @return Error information for the overall synchronization operation.
     * 
     */
    public CatalogErrorDetailsResponse operationError() {
        return this.operationError;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetCatalogSyncErrorDetailsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List conflicts;
        private List errors;
        private CatalogErrorDetailsResponse operationError;
        public Builder() {}
        public Builder(GetCatalogSyncErrorDetailsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.conflicts = defaults.conflicts;
    	      this.errors = defaults.errors;
    	      this.operationError = defaults.operationError;
        }

        @CustomType.Setter
        public Builder conflicts(List conflicts) {
            if (conflicts == null) {
              throw new MissingRequiredPropertyException("GetCatalogSyncErrorDetailsResult", "conflicts");
            }
            this.conflicts = conflicts;
            return this;
        }
        public Builder conflicts(CatalogConflictErrorResponse... conflicts) {
            return conflicts(List.of(conflicts));
        }
        @CustomType.Setter
        public Builder errors(List errors) {
            if (errors == null) {
              throw new MissingRequiredPropertyException("GetCatalogSyncErrorDetailsResult", "errors");
            }
            this.errors = errors;
            return this;
        }
        public Builder errors(CatalogSyncErrorResponse... errors) {
            return errors(List.of(errors));
        }
        @CustomType.Setter
        public Builder operationError(CatalogErrorDetailsResponse operationError) {
            if (operationError == null) {
              throw new MissingRequiredPropertyException("GetCatalogSyncErrorDetailsResult", "operationError");
            }
            this.operationError = operationError;
            return this;
        }
        public GetCatalogSyncErrorDetailsResult build() {
            final var _resultValue = new GetCatalogSyncErrorDetailsResult();
            _resultValue.conflicts = conflicts;
            _resultValue.errors = errors;
            _resultValue.operationError = operationError;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy