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

com.amazonaws.services.kinesisanalytics.model.UnableToDetectSchemaException Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Kinesis module holds the client classes that are used for communicating with Amazon Kinesis Service

There is a newer version: 1.12.765
Show newest version
/*
 * Copyright 2018-2023 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.services.kinesisanalytics.model;

import javax.annotation.Generated;

/**
 * 

* Data format is not valid. Amazon Kinesis Analytics is not able to detect schema for the given streaming source. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UnableToDetectSchemaException extends com.amazonaws.services.kinesisanalytics.model.AmazonKinesisAnalyticsException { private static final long serialVersionUID = 1L; private java.util.List rawInputRecords; private java.util.List processedInputRecords; /** * Constructs a new UnableToDetectSchemaException with the specified error message. * * @param message * Describes the error encountered. */ public UnableToDetectSchemaException(String message) { super(message); } /** * @return */ @com.fasterxml.jackson.annotation.JsonProperty("RawInputRecords") public java.util.List getRawInputRecords() { return rawInputRecords; } /** * @param rawInputRecords */ @com.fasterxml.jackson.annotation.JsonProperty("RawInputRecords") public void setRawInputRecords(java.util.Collection rawInputRecords) { if (rawInputRecords == null) { this.rawInputRecords = null; return; } this.rawInputRecords = new java.util.ArrayList(rawInputRecords); } /** *

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setRawInputRecords(java.util.Collection)} or {@link #withRawInputRecords(java.util.Collection)} if you * want to override the existing values. *

* * @param rawInputRecords * @return Returns a reference to this object so that method calls can be chained together. */ public UnableToDetectSchemaException withRawInputRecords(String... rawInputRecords) { if (this.rawInputRecords == null) { setRawInputRecords(new java.util.ArrayList(rawInputRecords.length)); } for (String ele : rawInputRecords) { this.rawInputRecords.add(ele); } return this; } /** * @param rawInputRecords * @return Returns a reference to this object so that method calls can be chained together. */ public UnableToDetectSchemaException withRawInputRecords(java.util.Collection rawInputRecords) { setRawInputRecords(rawInputRecords); return this; } /** * @return */ @com.fasterxml.jackson.annotation.JsonProperty("ProcessedInputRecords") public java.util.List getProcessedInputRecords() { return processedInputRecords; } /** * @param processedInputRecords */ @com.fasterxml.jackson.annotation.JsonProperty("ProcessedInputRecords") public void setProcessedInputRecords(java.util.Collection processedInputRecords) { if (processedInputRecords == null) { this.processedInputRecords = null; return; } this.processedInputRecords = new java.util.ArrayList(processedInputRecords); } /** *

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setProcessedInputRecords(java.util.Collection)} or * {@link #withProcessedInputRecords(java.util.Collection)} if you want to override the existing values. *

* * @param processedInputRecords * @return Returns a reference to this object so that method calls can be chained together. */ public UnableToDetectSchemaException withProcessedInputRecords(String... processedInputRecords) { if (this.processedInputRecords == null) { setProcessedInputRecords(new java.util.ArrayList(processedInputRecords.length)); } for (String ele : processedInputRecords) { this.processedInputRecords.add(ele); } return this; } /** * @param processedInputRecords * @return Returns a reference to this object so that method calls can be chained together. */ public UnableToDetectSchemaException withProcessedInputRecords(java.util.Collection processedInputRecords) { setProcessedInputRecords(processedInputRecords); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy