com.pulumi.googlenative.gkehub.v1alpha2.outputs.MultiCloudClusterResponse 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.gkehub.v1alpha2.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class MultiCloudClusterResponse {
/**
* @return If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
*
*/
private Boolean clusterMissing;
/**
* @return Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
*
*/
private String resourceLink;
private MultiCloudClusterResponse() {}
/**
* @return If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
*
*/
public Boolean clusterMissing() {
return this.clusterMissing;
}
/**
* @return Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
*
*/
public String resourceLink() {
return this.resourceLink;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MultiCloudClusterResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean clusterMissing;
private String resourceLink;
public Builder() {}
public Builder(MultiCloudClusterResponse defaults) {
Objects.requireNonNull(defaults);
this.clusterMissing = defaults.clusterMissing;
this.resourceLink = defaults.resourceLink;
}
@CustomType.Setter
public Builder clusterMissing(Boolean clusterMissing) {
this.clusterMissing = Objects.requireNonNull(clusterMissing);
return this;
}
@CustomType.Setter
public Builder resourceLink(String resourceLink) {
this.resourceLink = Objects.requireNonNull(resourceLink);
return this;
}
public MultiCloudClusterResponse build() {
final var o = new MultiCloudClusterResponse();
o.clusterMissing = clusterMissing;
o.resourceLink = resourceLink;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy