com.pulumi.googlenative.gkebackup.v1.outputs.NamespacedNameResponse 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.gkebackup.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class NamespacedNameResponse {
/**
* @return The name of the Kubernetes resource.
*
*/
private String name;
/**
* @return The Namespace of the Kubernetes resource.
*
*/
private String namespace;
private NamespacedNameResponse() {}
/**
* @return The name of the Kubernetes resource.
*
*/
public String name() {
return this.name;
}
/**
* @return The Namespace of the Kubernetes resource.
*
*/
public String namespace() {
return this.namespace;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NamespacedNameResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private String namespace;
public Builder() {}
public Builder(NamespacedNameResponse defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.namespace = defaults.namespace;
}
@CustomType.Setter
public Builder name(String name) {
this.name = Objects.requireNonNull(name);
return this;
}
@CustomType.Setter
public Builder namespace(String namespace) {
this.namespace = Objects.requireNonNull(namespace);
return this;
}
public NamespacedNameResponse build() {
final var o = new NamespacedNameResponse();
o.name = name;
o.namespace = namespace;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy