/* * 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.personalize.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Specifies the hyperparameters and their default ranges. Hyperparameters can be categorical, continuous, or * integer-valued. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DefaultHyperParameterRanges implements Serializable, Cloneable, StructuredPojo { /** ** The integer-valued hyperparameters and their default ranges. *
*/ private java.util.List* The continuous hyperparameters and their default ranges. *
*/ private java.util.List* The categorical hyperparameters and their default ranges. *
*/ private java.util.List* The integer-valued hyperparameters and their default ranges. *
* * @return The integer-valued hyperparameters and their default ranges. */ public java.util.List* The integer-valued hyperparameters and their default ranges. *
* * @param integerHyperParameterRanges * The integer-valued hyperparameters and their default ranges. */ public void setIntegerHyperParameterRanges(java.util.Collection* The integer-valued hyperparameters and their default ranges. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setIntegerHyperParameterRanges(java.util.Collection)} or * {@link #withIntegerHyperParameterRanges(java.util.Collection)} if you want to override the existing values. *
* * @param integerHyperParameterRanges * The integer-valued hyperparameters and their default ranges. * @return Returns a reference to this object so that method calls can be chained together. */ public DefaultHyperParameterRanges withIntegerHyperParameterRanges(DefaultIntegerHyperParameterRange... integerHyperParameterRanges) { if (this.integerHyperParameterRanges == null) { setIntegerHyperParameterRanges(new java.util.ArrayList* The integer-valued hyperparameters and their default ranges. *
* * @param integerHyperParameterRanges * The integer-valued hyperparameters and their default ranges. * @return Returns a reference to this object so that method calls can be chained together. */ public DefaultHyperParameterRanges withIntegerHyperParameterRanges(java.util.Collection* The continuous hyperparameters and their default ranges. *
* * @return The continuous hyperparameters and their default ranges. */ public java.util.List* The continuous hyperparameters and their default ranges. *
* * @param continuousHyperParameterRanges * The continuous hyperparameters and their default ranges. */ public void setContinuousHyperParameterRanges(java.util.Collection* The continuous hyperparameters and their default ranges. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setContinuousHyperParameterRanges(java.util.Collection)} or * {@link #withContinuousHyperParameterRanges(java.util.Collection)} if you want to override the existing values. *
* * @param continuousHyperParameterRanges * The continuous hyperparameters and their default ranges. * @return Returns a reference to this object so that method calls can be chained together. */ public DefaultHyperParameterRanges withContinuousHyperParameterRanges(DefaultContinuousHyperParameterRange... continuousHyperParameterRanges) { if (this.continuousHyperParameterRanges == null) { setContinuousHyperParameterRanges(new java.util.ArrayList* The continuous hyperparameters and their default ranges. *
* * @param continuousHyperParameterRanges * The continuous hyperparameters and their default ranges. * @return Returns a reference to this object so that method calls can be chained together. */ public DefaultHyperParameterRanges withContinuousHyperParameterRanges( java.util.Collection* The categorical hyperparameters and their default ranges. *
* * @return The categorical hyperparameters and their default ranges. */ public java.util.List* The categorical hyperparameters and their default ranges. *
* * @param categoricalHyperParameterRanges * The categorical hyperparameters and their default ranges. */ public void setCategoricalHyperParameterRanges(java.util.Collection* The categorical hyperparameters and their default ranges. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCategoricalHyperParameterRanges(java.util.Collection)} or * {@link #withCategoricalHyperParameterRanges(java.util.Collection)} if you want to override the existing values. *
* * @param categoricalHyperParameterRanges * The categorical hyperparameters and their default ranges. * @return Returns a reference to this object so that method calls can be chained together. */ public DefaultHyperParameterRanges withCategoricalHyperParameterRanges(DefaultCategoricalHyperParameterRange... categoricalHyperParameterRanges) { if (this.categoricalHyperParameterRanges == null) { setCategoricalHyperParameterRanges(new java.util.ArrayList* The categorical hyperparameters and their default ranges. *
* * @param categoricalHyperParameterRanges * The categorical hyperparameters and their default ranges. * @return Returns a reference to this object so that method calls can be chained together. */ public DefaultHyperParameterRanges withCategoricalHyperParameterRanges( java.util.Collection