com.pulumi.googlenative.monitoring.v3.outputs.MeshIstioResponse 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 MeshIstioResponse {
/**
* @return Identifier for the mesh in which this Istio service is defined. Corresponds to the mesh_uid metric label in Istio metrics.
*
*/
private String meshUid;
/**
* @return The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics.
*
*/
private String serviceName;
/**
* @return The namespace of the Istio service underlying this service. Corresponds to the destination_service_namespace metric label in Istio metrics.
*
*/
private String serviceNamespace;
private MeshIstioResponse() {}
/**
* @return Identifier for the mesh in which this Istio service is defined. Corresponds to the mesh_uid metric label in Istio metrics.
*
*/
public String meshUid() {
return this.meshUid;
}
/**
* @return The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics.
*
*/
public String serviceName() {
return this.serviceName;
}
/**
* @return The namespace of the Istio service underlying this service. Corresponds to the destination_service_namespace metric label in Istio metrics.
*
*/
public String serviceNamespace() {
return this.serviceNamespace;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MeshIstioResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String meshUid;
private String serviceName;
private String serviceNamespace;
public Builder() {}
public Builder(MeshIstioResponse defaults) {
Objects.requireNonNull(defaults);
this.meshUid = defaults.meshUid;
this.serviceName = defaults.serviceName;
this.serviceNamespace = defaults.serviceNamespace;
}
@CustomType.Setter
public Builder meshUid(String meshUid) {
this.meshUid = Objects.requireNonNull(meshUid);
return this;
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
this.serviceName = Objects.requireNonNull(serviceName);
return this;
}
@CustomType.Setter
public Builder serviceNamespace(String serviceNamespace) {
this.serviceNamespace = Objects.requireNonNull(serviceNamespace);
return this;
}
public MeshIstioResponse build() {
final var o = new MeshIstioResponse();
o.meshUid = meshUid;
o.serviceName = serviceName;
o.serviceNamespace = serviceNamespace;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy