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

com.pulumi.azurenative.providerhub.outputs.ResourceProviderManifestPropertiesResponseManagement Maven / Gradle / Ivy

// *** 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.providerhub.outputs;

import com.pulumi.azurenative.providerhub.outputs.ServiceTreeInfoResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ResourceProviderManifestPropertiesResponseManagement {
    private @Nullable String incidentContactEmail;
    private @Nullable String incidentRoutingService;
    private @Nullable String incidentRoutingTeam;
    private @Nullable List manifestOwners;
    private @Nullable String resourceAccessPolicy;
    private @Nullable List resourceAccessRoles;
    private @Nullable List schemaOwners;
    private @Nullable List serviceTreeInfos;

    private ResourceProviderManifestPropertiesResponseManagement() {}
    public Optional incidentContactEmail() {
        return Optional.ofNullable(this.incidentContactEmail);
    }
    public Optional incidentRoutingService() {
        return Optional.ofNullable(this.incidentRoutingService);
    }
    public Optional incidentRoutingTeam() {
        return Optional.ofNullable(this.incidentRoutingTeam);
    }
    public List manifestOwners() {
        return this.manifestOwners == null ? List.of() : this.manifestOwners;
    }
    public Optional resourceAccessPolicy() {
        return Optional.ofNullable(this.resourceAccessPolicy);
    }
    public List resourceAccessRoles() {
        return this.resourceAccessRoles == null ? List.of() : this.resourceAccessRoles;
    }
    public List schemaOwners() {
        return this.schemaOwners == null ? List.of() : this.schemaOwners;
    }
    public List serviceTreeInfos() {
        return this.serviceTreeInfos == null ? List.of() : this.serviceTreeInfos;
    }

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

    public static Builder builder(ResourceProviderManifestPropertiesResponseManagement defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String incidentContactEmail;
        private @Nullable String incidentRoutingService;
        private @Nullable String incidentRoutingTeam;
        private @Nullable List manifestOwners;
        private @Nullable String resourceAccessPolicy;
        private @Nullable List resourceAccessRoles;
        private @Nullable List schemaOwners;
        private @Nullable List serviceTreeInfos;
        public Builder() {}
        public Builder(ResourceProviderManifestPropertiesResponseManagement defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.incidentContactEmail = defaults.incidentContactEmail;
    	      this.incidentRoutingService = defaults.incidentRoutingService;
    	      this.incidentRoutingTeam = defaults.incidentRoutingTeam;
    	      this.manifestOwners = defaults.manifestOwners;
    	      this.resourceAccessPolicy = defaults.resourceAccessPolicy;
    	      this.resourceAccessRoles = defaults.resourceAccessRoles;
    	      this.schemaOwners = defaults.schemaOwners;
    	      this.serviceTreeInfos = defaults.serviceTreeInfos;
        }

        @CustomType.Setter
        public Builder incidentContactEmail(@Nullable String incidentContactEmail) {

            this.incidentContactEmail = incidentContactEmail;
            return this;
        }
        @CustomType.Setter
        public Builder incidentRoutingService(@Nullable String incidentRoutingService) {

            this.incidentRoutingService = incidentRoutingService;
            return this;
        }
        @CustomType.Setter
        public Builder incidentRoutingTeam(@Nullable String incidentRoutingTeam) {

            this.incidentRoutingTeam = incidentRoutingTeam;
            return this;
        }
        @CustomType.Setter
        public Builder manifestOwners(@Nullable List manifestOwners) {

            this.manifestOwners = manifestOwners;
            return this;
        }
        public Builder manifestOwners(String... manifestOwners) {
            return manifestOwners(List.of(manifestOwners));
        }
        @CustomType.Setter
        public Builder resourceAccessPolicy(@Nullable String resourceAccessPolicy) {

            this.resourceAccessPolicy = resourceAccessPolicy;
            return this;
        }
        @CustomType.Setter
        public Builder resourceAccessRoles(@Nullable List resourceAccessRoles) {

            this.resourceAccessRoles = resourceAccessRoles;
            return this;
        }
        public Builder resourceAccessRoles(Object... resourceAccessRoles) {
            return resourceAccessRoles(List.of(resourceAccessRoles));
        }
        @CustomType.Setter
        public Builder schemaOwners(@Nullable List schemaOwners) {

            this.schemaOwners = schemaOwners;
            return this;
        }
        public Builder schemaOwners(String... schemaOwners) {
            return schemaOwners(List.of(schemaOwners));
        }
        @CustomType.Setter
        public Builder serviceTreeInfos(@Nullable List serviceTreeInfos) {

            this.serviceTreeInfos = serviceTreeInfos;
            return this;
        }
        public Builder serviceTreeInfos(ServiceTreeInfoResponse... serviceTreeInfos) {
            return serviceTreeInfos(List.of(serviceTreeInfos));
        }
        public ResourceProviderManifestPropertiesResponseManagement build() {
            final var _resultValue = new ResourceProviderManifestPropertiesResponseManagement();
            _resultValue.incidentContactEmail = incidentContactEmail;
            _resultValue.incidentRoutingService = incidentRoutingService;
            _resultValue.incidentRoutingTeam = incidentRoutingTeam;
            _resultValue.manifestOwners = manifestOwners;
            _resultValue.resourceAccessPolicy = resourceAccessPolicy;
            _resultValue.resourceAccessRoles = resourceAccessRoles;
            _resultValue.schemaOwners = schemaOwners;
            _resultValue.serviceTreeInfos = serviceTreeInfos;
            return _resultValue;
        }
    }
}