/* * 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.rdsdata.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains an array. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ArrayValue implements Serializable, Cloneable, StructuredPojo { /** ** An array of Boolean values. *
*/ private java.util.List* An array of integers. *
*/ private java.util.List* An array of floating-point numbers. *
*/ private java.util.List* An array of strings. *
*/ private java.util.List* An array of arrays. *
*/ private java.util.List* An array of Boolean values. *
* * @return An array of Boolean values. */ public java.util.List* An array of Boolean values. *
* * @param booleanValues * An array of Boolean values. */ public void setBooleanValues(java.util.Collection* An array of Boolean values. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setBooleanValues(java.util.Collection)} or {@link #withBooleanValues(java.util.Collection)} if you want * to override the existing values. *
* * @param booleanValues * An array of Boolean values. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withBooleanValues(Boolean... booleanValues) { if (this.booleanValues == null) { setBooleanValues(new java.util.ArrayList* An array of Boolean values. *
* * @param booleanValues * An array of Boolean values. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withBooleanValues(java.util.Collection* An array of integers. *
* * @return An array of integers. */ public java.util.List* An array of integers. *
* * @param longValues * An array of integers. */ public void setLongValues(java.util.Collection* An array of integers. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setLongValues(java.util.Collection)} or {@link #withLongValues(java.util.Collection)} if you want to * override the existing values. *
* * @param longValues * An array of integers. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withLongValues(Long... longValues) { if (this.longValues == null) { setLongValues(new java.util.ArrayList* An array of integers. *
* * @param longValues * An array of integers. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withLongValues(java.util.Collection* An array of floating-point numbers. *
* * @return An array of floating-point numbers. */ public java.util.List* An array of floating-point numbers. *
* * @param doubleValues * An array of floating-point numbers. */ public void setDoubleValues(java.util.Collection* An array of floating-point numbers. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDoubleValues(java.util.Collection)} or {@link #withDoubleValues(java.util.Collection)} if you want to * override the existing values. *
* * @param doubleValues * An array of floating-point numbers. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withDoubleValues(Double... doubleValues) { if (this.doubleValues == null) { setDoubleValues(new java.util.ArrayList* An array of floating-point numbers. *
* * @param doubleValues * An array of floating-point numbers. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withDoubleValues(java.util.Collection* An array of strings. *
* * @return An array of strings. */ public java.util.List* An array of strings. *
* * @param stringValues * An array of strings. */ public void setStringValues(java.util.Collection* An array of strings. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setStringValues(java.util.Collection)} or {@link #withStringValues(java.util.Collection)} if you want to * override the existing values. *
* * @param stringValues * An array of strings. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withStringValues(String... stringValues) { if (this.stringValues == null) { setStringValues(new java.util.ArrayList* An array of strings. *
* * @param stringValues * An array of strings. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withStringValues(java.util.Collection* An array of arrays. *
* * @return An array of arrays. */ public java.util.List* An array of arrays. *
* * @param arrayValues * An array of arrays. */ public void setArrayValues(java.util.Collection* An array of arrays. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setArrayValues(java.util.Collection)} or {@link #withArrayValues(java.util.Collection)} if you want to * override the existing values. *
* * @param arrayValues * An array of arrays. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withArrayValues(ArrayValue... arrayValues) { if (this.arrayValues == null) { setArrayValues(new java.util.ArrayList* An array of arrays. *
* * @param arrayValues * An array of arrays. * @return Returns a reference to this object so that method calls can be chained together. */ public ArrayValue withArrayValues(java.util.Collection