/* * 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.quicksight.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The configuration that overrides the existing default values for a dataset parameter that is inherited from another * dataset. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class NewDefaultValues implements Serializable, Cloneable, StructuredPojo { /** ** A list of static default values for a given string parameter. *
*/ private java.util.List* A list of static default values for a given decimal parameter. *
*/ private java.util.List* A list of static default values for a given date time parameter. *
*/ private java.util.List* A list of static default values for a given integer parameter. *
*/ private java.util.List* A list of static default values for a given string parameter. *
* * @return A list of static default values for a given string parameter. */ public java.util.List* A list of static default values for a given string parameter. *
* * @param stringStaticValues * A list of static default values for a given string parameter. */ public void setStringStaticValues(java.util.Collection* A list of static default values for a given string parameter. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setStringStaticValues(java.util.Collection)} or {@link #withStringStaticValues(java.util.Collection)} if * you want to override the existing values. *
* * @param stringStaticValues * A list of static default values for a given string parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public NewDefaultValues withStringStaticValues(String... stringStaticValues) { if (this.stringStaticValues == null) { setStringStaticValues(new java.util.ArrayList* A list of static default values for a given string parameter. *
* * @param stringStaticValues * A list of static default values for a given string parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public NewDefaultValues withStringStaticValues(java.util.Collection* A list of static default values for a given decimal parameter. *
* * @return A list of static default values for a given decimal parameter. */ public java.util.List* A list of static default values for a given decimal parameter. *
* * @param decimalStaticValues * A list of static default values for a given decimal parameter. */ public void setDecimalStaticValues(java.util.Collection* A list of static default values for a given decimal parameter. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDecimalStaticValues(java.util.Collection)} or {@link #withDecimalStaticValues(java.util.Collection)} * if you want to override the existing values. *
* * @param decimalStaticValues * A list of static default values for a given decimal parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public NewDefaultValues withDecimalStaticValues(Double... decimalStaticValues) { if (this.decimalStaticValues == null) { setDecimalStaticValues(new java.util.ArrayList* A list of static default values for a given decimal parameter. *
* * @param decimalStaticValues * A list of static default values for a given decimal parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public NewDefaultValues withDecimalStaticValues(java.util.Collection* A list of static default values for a given date time parameter. *
* * @return A list of static default values for a given date time parameter. */ public java.util.List* A list of static default values for a given date time parameter. *
* * @param dateTimeStaticValues * A list of static default values for a given date time parameter. */ public void setDateTimeStaticValues(java.util.Collection* A list of static default values for a given date time parameter. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDateTimeStaticValues(java.util.Collection)} or {@link #withDateTimeStaticValues(java.util.Collection)} * if you want to override the existing values. *
* * @param dateTimeStaticValues * A list of static default values for a given date time parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public NewDefaultValues withDateTimeStaticValues(java.util.Date... dateTimeStaticValues) { if (this.dateTimeStaticValues == null) { setDateTimeStaticValues(new java.util.ArrayList* A list of static default values for a given date time parameter. *
* * @param dateTimeStaticValues * A list of static default values for a given date time parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public NewDefaultValues withDateTimeStaticValues(java.util.Collection* A list of static default values for a given integer parameter. *
* * @return A list of static default values for a given integer parameter. */ public java.util.List* A list of static default values for a given integer parameter. *
* * @param integerStaticValues * A list of static default values for a given integer parameter. */ public void setIntegerStaticValues(java.util.Collection* A list of static default values for a given integer parameter. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setIntegerStaticValues(java.util.Collection)} or {@link #withIntegerStaticValues(java.util.Collection)} * if you want to override the existing values. *
* * @param integerStaticValues * A list of static default values for a given integer parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public NewDefaultValues withIntegerStaticValues(Long... integerStaticValues) { if (this.integerStaticValues == null) { setIntegerStaticValues(new java.util.ArrayList* A list of static default values for a given integer parameter. *
* * @param integerStaticValues * A list of static default values for a given integer parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public NewDefaultValues withIntegerStaticValues(java.util.Collection