com.pulumi.googlenative.networkservices.v1.outputs.EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse 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.networkservices.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse {
/**
* @return Label name presented as key in xDS Node Metadata.
*
*/
private String labelName;
/**
* @return Label value presented as value corresponding to the above key, in xDS Node Metadata.
*
*/
private String labelValue;
private EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse() {}
/**
* @return Label name presented as key in xDS Node Metadata.
*
*/
public String labelName() {
return this.labelName;
}
/**
* @return Label value presented as value corresponding to the above key, in xDS Node Metadata.
*
*/
public String labelValue() {
return this.labelValue;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String labelName;
private String labelValue;
public Builder() {}
public Builder(EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse defaults) {
Objects.requireNonNull(defaults);
this.labelName = defaults.labelName;
this.labelValue = defaults.labelValue;
}
@CustomType.Setter
public Builder labelName(String labelName) {
this.labelName = Objects.requireNonNull(labelName);
return this;
}
@CustomType.Setter
public Builder labelValue(String labelValue) {
this.labelValue = Objects.requireNonNull(labelValue);
return this;
}
public EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse build() {
final var o = new EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse();
o.labelName = labelName;
o.labelValue = labelValue;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy