All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.vision.v1.outputs.BoundingPolyResponse 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.vision.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.vision.v1.outputs.NormalizedVertexResponse;
import com.pulumi.googlenative.vision.v1.outputs.VertexResponse;
import java.util.List;
import java.util.Objects;

@CustomType
public final class BoundingPolyResponse {
    /**
     * @return The bounding polygon normalized vertices.
     * 
     */
    private List normalizedVertices;
    /**
     * @return The bounding polygon vertices.
     * 
     */
    private List vertices;

    private BoundingPolyResponse() {}
    /**
     * @return The bounding polygon normalized vertices.
     * 
     */
    public List normalizedVertices() {
        return this.normalizedVertices;
    }
    /**
     * @return The bounding polygon vertices.
     * 
     */
    public List vertices() {
        return this.vertices;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(BoundingPolyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List normalizedVertices;
        private List vertices;
        public Builder() {}
        public Builder(BoundingPolyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.normalizedVertices = defaults.normalizedVertices;
    	      this.vertices = defaults.vertices;
        }

        @CustomType.Setter
        public Builder normalizedVertices(List normalizedVertices) {
            this.normalizedVertices = Objects.requireNonNull(normalizedVertices);
            return this;
        }
        public Builder normalizedVertices(NormalizedVertexResponse... normalizedVertices) {
            return normalizedVertices(List.of(normalizedVertices));
        }
        @CustomType.Setter
        public Builder vertices(List vertices) {
            this.vertices = Objects.requireNonNull(vertices);
            return this;
        }
        public Builder vertices(VertexResponse... vertices) {
            return vertices(List.of(vertices));
        }
        public BoundingPolyResponse build() {
            final var o = new BoundingPolyResponse();
            o.normalizedVertices = normalizedVertices;
            o.vertices = vertices;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy