/* * 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.kinesisanalyticsv2.model; import javax.annotation.Generated; /** *
* The data format is not valid. Kinesis Data Analytics cannot detect the schema for the given streaming source. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UnableToDetectSchemaException extends com.amazonaws.services.kinesisanalyticsv2.model.AmazonKinesisAnalyticsV2Exception { private static final long serialVersionUID = 1L; /** ** Raw stream data that was sampled to infer the schema. *
*/ private java.util.List
* Stream data that was modified by the processor specified in the InputProcessingConfiguration
* parameter.
*
* Raw stream data that was sampled to infer the schema. *
* * @return Raw stream data that was sampled to infer the schema. */ @com.fasterxml.jackson.annotation.JsonProperty("RawInputRecords") public java.util.List* Raw stream data that was sampled to infer the schema. *
* * @param rawInputRecords * Raw stream data that was sampled to infer the schema. */ @com.fasterxml.jackson.annotation.JsonProperty("RawInputRecords") public void setRawInputRecords(java.util.Collection* Raw stream data that was sampled to infer the schema. *
** 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 * Raw stream data that was sampled to infer the schema. * @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* Raw stream data that was sampled to infer the schema. *
* * @param rawInputRecords * Raw stream data that was sampled to infer the schema. * @return Returns a reference to this object so that method calls can be chained together. */ public UnableToDetectSchemaException withRawInputRecords(java.util.Collection
* Stream data that was modified by the processor specified in the InputProcessingConfiguration
* parameter.
*
InputProcessingConfiguration
* parameter.
*/
@com.fasterxml.jackson.annotation.JsonProperty("ProcessedInputRecords")
public java.util.List
* Stream data that was modified by the processor specified in the InputProcessingConfiguration
* parameter.
*
InputProcessingConfiguration
* parameter.
*/
@com.fasterxml.jackson.annotation.JsonProperty("ProcessedInputRecords")
public void setProcessedInputRecords(java.util.Collection
* Stream data that was modified by the processor specified in the InputProcessingConfiguration
* parameter.
*
* 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 * Stream data that was modified by the processor specified in theInputProcessingConfiguration
* parameter.
* @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
* Stream data that was modified by the processor specified in the InputProcessingConfiguration
* parameter.
*
InputProcessingConfiguration
* parameter.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UnableToDetectSchemaException withProcessedInputRecords(java.util.Collection