/* * 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.connect.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The search criteria to be used to return prompts. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PromptSearchCriteria implements Serializable, Cloneable, StructuredPojo { /** ** A list of conditions which would be applied together with an OR condition. *
*/ private java.util.List* A list of conditions which would be applied together with an AND condition. *
*/ private java.util.List* A leaf node condition which can be used to specify a string condition. *
*
* The currently supported values for FieldName
are name
, description
, and
* resourceID
.
*
* A list of conditions which would be applied together with an OR condition. *
* * @return A list of conditions which would be applied together with an OR condition. */ public java.util.List* A list of conditions which would be applied together with an OR condition. *
* * @param orConditions * A list of conditions which would be applied together with an OR condition. */ public void setOrConditions(java.util.Collection* A list of conditions which would be applied together with an OR condition. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOrConditions(java.util.Collection)} or {@link #withOrConditions(java.util.Collection)} if you want to * override the existing values. *
* * @param orConditions * A list of conditions which would be applied together with an OR condition. * @return Returns a reference to this object so that method calls can be chained together. */ public PromptSearchCriteria withOrConditions(PromptSearchCriteria... orConditions) { if (this.orConditions == null) { setOrConditions(new java.util.ArrayList* A list of conditions which would be applied together with an OR condition. *
* * @param orConditions * A list of conditions which would be applied together with an OR condition. * @return Returns a reference to this object so that method calls can be chained together. */ public PromptSearchCriteria withOrConditions(java.util.Collection* A list of conditions which would be applied together with an AND condition. *
* * @return A list of conditions which would be applied together with an AND condition. */ public java.util.List* A list of conditions which would be applied together with an AND condition. *
* * @param andConditions * A list of conditions which would be applied together with an AND condition. */ public void setAndConditions(java.util.Collection* A list of conditions which would be applied together with an AND condition. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAndConditions(java.util.Collection)} or {@link #withAndConditions(java.util.Collection)} if you want * to override the existing values. *
* * @param andConditions * A list of conditions which would be applied together with an AND condition. * @return Returns a reference to this object so that method calls can be chained together. */ public PromptSearchCriteria withAndConditions(PromptSearchCriteria... andConditions) { if (this.andConditions == null) { setAndConditions(new java.util.ArrayList* A list of conditions which would be applied together with an AND condition. *
* * @param andConditions * A list of conditions which would be applied together with an AND condition. * @return Returns a reference to this object so that method calls can be chained together. */ public PromptSearchCriteria withAndConditions(java.util.Collection* A leaf node condition which can be used to specify a string condition. *
*
* The currently supported values for FieldName
are name
, description
, and
* resourceID
.
*
* The currently supported values for FieldName
are name
, description
,
* and resourceID
.
*
* A leaf node condition which can be used to specify a string condition. *
*
* The currently supported values for FieldName
are name
, description
, and
* resourceID
.
*
* The currently supported values for FieldName
are name
, description
* , and resourceID
.
*
* A leaf node condition which can be used to specify a string condition. *
*
* The currently supported values for FieldName
are name
, description
, and
* resourceID
.
*
* The currently supported values for FieldName
are name
, description
,
* and resourceID
.
*