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

com.pulumi.googlenative.monitoring.v3.outputs.IstioCanonicalServiceResponse 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.googlenative.monitoring.v3.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class IstioCanonicalServiceResponse {
    /**
     * @return The name of the canonical service underlying this service. Corresponds to the destination_canonical_service_name metric label in label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio).
     * 
     */
    private String canonicalService;
    /**
     * @return The namespace of the canonical service underlying this service. Corresponds to the destination_canonical_service_namespace metric label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio).
     * 
     */
    private String canonicalServiceNamespace;
    /**
     * @return Identifier for the Istio mesh in which this canonical service is defined. Corresponds to the mesh_uid metric label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio).
     * 
     */
    private String meshUid;

    private IstioCanonicalServiceResponse() {}
    /**
     * @return The name of the canonical service underlying this service. Corresponds to the destination_canonical_service_name metric label in label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio).
     * 
     */
    public String canonicalService() {
        return this.canonicalService;
    }
    /**
     * @return The namespace of the canonical service underlying this service. Corresponds to the destination_canonical_service_namespace metric label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio).
     * 
     */
    public String canonicalServiceNamespace() {
        return this.canonicalServiceNamespace;
    }
    /**
     * @return Identifier for the Istio mesh in which this canonical service is defined. Corresponds to the mesh_uid metric label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio).
     * 
     */
    public String meshUid() {
        return this.meshUid;
    }

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

    public static Builder builder(IstioCanonicalServiceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String canonicalService;
        private String canonicalServiceNamespace;
        private String meshUid;
        public Builder() {}
        public Builder(IstioCanonicalServiceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.canonicalService = defaults.canonicalService;
    	      this.canonicalServiceNamespace = defaults.canonicalServiceNamespace;
    	      this.meshUid = defaults.meshUid;
        }

        @CustomType.Setter
        public Builder canonicalService(String canonicalService) {
            this.canonicalService = Objects.requireNonNull(canonicalService);
            return this;
        }
        @CustomType.Setter
        public Builder canonicalServiceNamespace(String canonicalServiceNamespace) {
            this.canonicalServiceNamespace = Objects.requireNonNull(canonicalServiceNamespace);
            return this;
        }
        @CustomType.Setter
        public Builder meshUid(String meshUid) {
            this.meshUid = Objects.requireNonNull(meshUid);
            return this;
        }
        public IstioCanonicalServiceResponse build() {
            final var o = new IstioCanonicalServiceResponse();
            o.canonicalService = canonicalService;
            o.canonicalServiceNamespace = canonicalServiceNamespace;
            o.meshUid = meshUid;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy