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

com.amazonaws.kinesisvideo.parser.rekognition.pojo.RekognizedOutput Maven / Gradle / Ivy

// Generated by delombok at Tue Feb 26 19:23:15 UTC 2019
/*
Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"). 
You may not use this file except in compliance with the License. 
A copy of the License is located at

   http://aws.amazon.com/apache2.0/

or in the "license" file accompanying this file. 
This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
*/
package com.amazonaws.kinesisvideo.parser.rekognition.pojo;

import java.util.ArrayList;
import java.util.List;

public class RekognizedOutput {
    private String fragmentNumber;
    private Double frameOffsetInSeconds;
    private Double serverTimestamp;
    private Double producerTimestamp;
    private String faceId;
    private double detectedTime;
    private List faceSearchOutputs;

    public void addFaceSearchOutput(FaceSearchOutput faceSearchOutput) {
        this.faceSearchOutputs.add(faceSearchOutput);
    }


    public static class FaceSearchOutput {
        private DetectedFace detectedFace;
        private List matchedFaceList;

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private static List $default$matchedFaceList() {
            return new ArrayList<>();
        }

        @java.beans.ConstructorProperties({"detectedFace", "matchedFaceList"})
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        FaceSearchOutput(final DetectedFace detectedFace, final List matchedFaceList) {
            this.detectedFace = detectedFace;
            this.matchedFaceList = matchedFaceList;
        }


        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public static class FaceSearchOutputBuilder {
            @SuppressWarnings("all")
            @javax.annotation.Generated("lombok")
            private DetectedFace detectedFace;
            @SuppressWarnings("all")
            @javax.annotation.Generated("lombok")
            private boolean matchedFaceList$set;
            @SuppressWarnings("all")
            @javax.annotation.Generated("lombok")
            private List matchedFaceList;

            @SuppressWarnings("all")
            @javax.annotation.Generated("lombok")
            FaceSearchOutputBuilder() {
            }

            @SuppressWarnings("all")
            @javax.annotation.Generated("lombok")
            public FaceSearchOutputBuilder detectedFace(final DetectedFace detectedFace) {
                this.detectedFace = detectedFace;
                return this;
            }

            @SuppressWarnings("all")
            @javax.annotation.Generated("lombok")
            public FaceSearchOutputBuilder matchedFaceList(final List matchedFaceList) {
                this.matchedFaceList = matchedFaceList;
                matchedFaceList$set = true;
                return this;
            }

            @SuppressWarnings("all")
            @javax.annotation.Generated("lombok")
            public FaceSearchOutput build() {
                return new FaceSearchOutput(detectedFace, matchedFaceList$set ? matchedFaceList : FaceSearchOutput.$default$matchedFaceList());
            }

            @Override
            @SuppressWarnings("all")
            @javax.annotation.Generated("lombok")
            public String toString() {
                return "RekognizedOutput.FaceSearchOutput.FaceSearchOutputBuilder(detectedFace=" + this.detectedFace + ", matchedFaceList=" + this.matchedFaceList + ")";
            }
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public static FaceSearchOutputBuilder builder() {
            return new FaceSearchOutputBuilder();
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public DetectedFace getDetectedFace() {
            return this.detectedFace;
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public List getMatchedFaceList() {
            return this.matchedFaceList;
        }

        @Override
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public String toString() {
            return "RekognizedOutput.FaceSearchOutput(detectedFace=" + this.getDetectedFace() + ", matchedFaceList=" + this.getMatchedFaceList() + ")";
        }
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    private static List $default$faceSearchOutputs() {
        return new ArrayList<>();
    }

    @java.beans.ConstructorProperties({"fragmentNumber", "frameOffsetInSeconds", "serverTimestamp", "producerTimestamp", "faceId", "detectedTime", "faceSearchOutputs"})
    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    RekognizedOutput(final String fragmentNumber, final Double frameOffsetInSeconds, final Double serverTimestamp, final Double producerTimestamp, final String faceId, final double detectedTime, final List faceSearchOutputs) {
        this.fragmentNumber = fragmentNumber;
        this.frameOffsetInSeconds = frameOffsetInSeconds;
        this.serverTimestamp = serverTimestamp;
        this.producerTimestamp = producerTimestamp;
        this.faceId = faceId;
        this.detectedTime = detectedTime;
        this.faceSearchOutputs = faceSearchOutputs;
    }


    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public static class RekognizedOutputBuilder {
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private String fragmentNumber;
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private Double frameOffsetInSeconds;
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private Double serverTimestamp;
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private Double producerTimestamp;
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private String faceId;
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private double detectedTime;
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private boolean faceSearchOutputs$set;
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        private List faceSearchOutputs;

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        RekognizedOutputBuilder() {
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public RekognizedOutputBuilder fragmentNumber(final String fragmentNumber) {
            this.fragmentNumber = fragmentNumber;
            return this;
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public RekognizedOutputBuilder frameOffsetInSeconds(final Double frameOffsetInSeconds) {
            this.frameOffsetInSeconds = frameOffsetInSeconds;
            return this;
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public RekognizedOutputBuilder serverTimestamp(final Double serverTimestamp) {
            this.serverTimestamp = serverTimestamp;
            return this;
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public RekognizedOutputBuilder producerTimestamp(final Double producerTimestamp) {
            this.producerTimestamp = producerTimestamp;
            return this;
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public RekognizedOutputBuilder faceId(final String faceId) {
            this.faceId = faceId;
            return this;
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public RekognizedOutputBuilder detectedTime(final double detectedTime) {
            this.detectedTime = detectedTime;
            return this;
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public RekognizedOutputBuilder faceSearchOutputs(final List faceSearchOutputs) {
            this.faceSearchOutputs = faceSearchOutputs;
            faceSearchOutputs$set = true;
            return this;
        }

        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public RekognizedOutput build() {
            return new RekognizedOutput(fragmentNumber, frameOffsetInSeconds, serverTimestamp, producerTimestamp, faceId, detectedTime, faceSearchOutputs$set ? faceSearchOutputs : RekognizedOutput.$default$faceSearchOutputs());
        }

        @Override
        @SuppressWarnings("all")
        @javax.annotation.Generated("lombok")
        public String toString() {
            return "RekognizedOutput.RekognizedOutputBuilder(fragmentNumber=" + this.fragmentNumber + ", frameOffsetInSeconds=" + this.frameOffsetInSeconds + ", serverTimestamp=" + this.serverTimestamp + ", producerTimestamp=" + this.producerTimestamp + ", faceId=" + this.faceId + ", detectedTime=" + this.detectedTime + ", faceSearchOutputs=" + this.faceSearchOutputs + ")";
        }
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public static RekognizedOutputBuilder builder() {
        return new RekognizedOutputBuilder();
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public String getFragmentNumber() {
        return this.fragmentNumber;
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public Double getFrameOffsetInSeconds() {
        return this.frameOffsetInSeconds;
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public Double getServerTimestamp() {
        return this.serverTimestamp;
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public Double getProducerTimestamp() {
        return this.producerTimestamp;
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public String getFaceId() {
        return this.faceId;
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public double getDetectedTime() {
        return this.detectedTime;
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public List getFaceSearchOutputs() {
        return this.faceSearchOutputs;
    }

    @Override
    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public String toString() {
        return "RekognizedOutput(fragmentNumber=" + this.getFragmentNumber() + ", frameOffsetInSeconds=" + this.getFrameOffsetInSeconds() + ", serverTimestamp=" + this.getServerTimestamp() + ", producerTimestamp=" + this.getProducerTimestamp() + ", faceId=" + this.getFaceId() + ", detectedTime=" + this.getDetectedTime() + ", faceSearchOutputs=" + this.getFaceSearchOutputs() + ")";
    }

    @SuppressWarnings("all")
    @javax.annotation.Generated("lombok")
    public void setFaceId(final String faceId) {
        this.faceId = faceId;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy