![JAR search and dependency download from the Maven repository](/logo.png)
com.amazonaws.kinesisvideo.parser.examples.lambda.EncodedFrame 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.examples.lambda;
import java.nio.ByteBuffer;
/**
* Container class for H264 encoded frame
*/
public class EncodedFrame {
private final ByteBuffer byteBuffer;
private final ByteBuffer cpd;
private final boolean isKeyFrame;
private long timeCode;
@java.beans.ConstructorProperties({"byteBuffer", "cpd", "isKeyFrame", "timeCode"})
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
EncodedFrame(final ByteBuffer byteBuffer, final ByteBuffer cpd, final boolean isKeyFrame, final long timeCode) {
this.byteBuffer = byteBuffer;
this.cpd = cpd;
this.isKeyFrame = isKeyFrame;
this.timeCode = timeCode;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static class EncodedFrameBuilder {
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private ByteBuffer byteBuffer;
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private ByteBuffer cpd;
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private boolean isKeyFrame;
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private long timeCode;
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
EncodedFrameBuilder() {
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public EncodedFrameBuilder byteBuffer(final ByteBuffer byteBuffer) {
this.byteBuffer = byteBuffer;
return this;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public EncodedFrameBuilder cpd(final ByteBuffer cpd) {
this.cpd = cpd;
return this;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public EncodedFrameBuilder isKeyFrame(final boolean isKeyFrame) {
this.isKeyFrame = isKeyFrame;
return this;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public EncodedFrameBuilder timeCode(final long timeCode) {
this.timeCode = timeCode;
return this;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public EncodedFrame build() {
return new EncodedFrame(byteBuffer, cpd, isKeyFrame, timeCode);
}
@Override
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String toString() {
return "EncodedFrame.EncodedFrameBuilder(byteBuffer=" + this.byteBuffer + ", cpd=" + this.cpd + ", isKeyFrame=" + this.isKeyFrame + ", timeCode=" + this.timeCode + ")";
}
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static EncodedFrameBuilder builder() {
return new EncodedFrameBuilder();
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public ByteBuffer getByteBuffer() {
return this.byteBuffer;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public ByteBuffer getCpd() {
return this.cpd;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public boolean isKeyFrame() {
return this.isKeyFrame;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public long getTimeCode() {
return this.timeCode;
}
@SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public void setTimeCode(final long timeCode) {
this.timeCode = timeCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy