com.pulumi.googlenative.dns.v1.outputs.ManagedZonePrivateVisibilityConfigResponse 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.dns.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.dns.v1.outputs.ManagedZonePrivateVisibilityConfigGKEClusterResponse;
import com.pulumi.googlenative.dns.v1.outputs.ManagedZonePrivateVisibilityConfigNetworkResponse;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class ManagedZonePrivateVisibilityConfigResponse {
/**
* @return The list of Google Kubernetes Engine clusters that can see this zone.
*
*/
private List gkeClusters;
private String kind;
/**
* @return The list of VPC networks that can see this zone.
*
*/
private List networks;
private ManagedZonePrivateVisibilityConfigResponse() {}
/**
* @return The list of Google Kubernetes Engine clusters that can see this zone.
*
*/
public List gkeClusters() {
return this.gkeClusters;
}
public String kind() {
return this.kind;
}
/**
* @return The list of VPC networks that can see this zone.
*
*/
public List networks() {
return this.networks;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedZonePrivateVisibilityConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List gkeClusters;
private String kind;
private List networks;
public Builder() {}
public Builder(ManagedZonePrivateVisibilityConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.gkeClusters = defaults.gkeClusters;
this.kind = defaults.kind;
this.networks = defaults.networks;
}
@CustomType.Setter
public Builder gkeClusters(List gkeClusters) {
this.gkeClusters = Objects.requireNonNull(gkeClusters);
return this;
}
public Builder gkeClusters(ManagedZonePrivateVisibilityConfigGKEClusterResponse... gkeClusters) {
return gkeClusters(List.of(gkeClusters));
}
@CustomType.Setter
public Builder kind(String kind) {
this.kind = Objects.requireNonNull(kind);
return this;
}
@CustomType.Setter
public Builder networks(List networks) {
this.networks = Objects.requireNonNull(networks);
return this;
}
public Builder networks(ManagedZonePrivateVisibilityConfigNetworkResponse... networks) {
return networks(List.of(networks));
}
public ManagedZonePrivateVisibilityConfigResponse build() {
final var o = new ManagedZonePrivateVisibilityConfigResponse();
o.gkeClusters = gkeClusters;
o.kind = kind;
o.networks = networks;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy