@Generated(value="software.amazon.awssdk:codegen") public final class CachingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CachingConfig.Builder,CachingConfig>
The caching configuration for a resolver that has caching enabled.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CachingConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CachingConfig.Builder |
builder() |
List<String> |
cachingKeys()
The caching keys for a resolver that has caching enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCachingKeys()
Returns true if the CachingKeys property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CachingConfig.Builder> |
serializableBuilderClass() |
CachingConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
ttl()
The TTL in seconds for a resolver that has caching enabled.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Long ttl()
The TTL in seconds for a resolver that has caching enabled.
Valid values are between 1 and 3600 seconds.
Valid values are between 1 and 3600 seconds.
public boolean hasCachingKeys()
public List<String> cachingKeys()
The caching keys for a resolver that has caching enabled.
Valid values are entries from the $context.arguments, $context.source, and
$context.identity maps.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCachingKeys() to see if a value was sent in this field.
Valid values are entries from the $context.arguments, $context.source, and
$context.identity maps.
public CachingConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CachingConfig.Builder,CachingConfig>public static CachingConfig.Builder builder()
public static Class<? extends CachingConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.