/* * 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.finspace.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The structure of database cache configuration that is used for mapping database paths to cache types in clusters. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class KxDatabaseCacheConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are: *
** CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *
** Specifies the portions of database that will be loaded into the cache for access. *
*/ private java.util.List* The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are: *
** CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *
** CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *
** The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are: *
** CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *
** CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *
** The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are: *
** CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *
** CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. *
** Specifies the portions of database that will be loaded into the cache for access. *
* * @return Specifies the portions of database that will be loaded into the cache for access. */ public java.util.List* Specifies the portions of database that will be loaded into the cache for access. *
* * @param dbPaths * Specifies the portions of database that will be loaded into the cache for access. */ public void setDbPaths(java.util.Collection* Specifies the portions of database that will be loaded into the cache for access. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDbPaths(java.util.Collection)} or {@link #withDbPaths(java.util.Collection)} if you want to override * the existing values. *
* * @param dbPaths * Specifies the portions of database that will be loaded into the cache for access. * @return Returns a reference to this object so that method calls can be chained together. */ public KxDatabaseCacheConfiguration withDbPaths(String... dbPaths) { if (this.dbPaths == null) { setDbPaths(new java.util.ArrayList* Specifies the portions of database that will be loaded into the cache for access. *
* * @param dbPaths * Specifies the portions of database that will be loaded into the cache for access. * @return Returns a reference to this object so that method calls can be chained together. */ public KxDatabaseCacheConfiguration withDbPaths(java.util.Collection