@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateApiCacheRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a UpdateApiCache
operation.
NOOP
Constructor and Description |
---|
UpdateApiCacheRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateApiCacheRequest |
clone() |
boolean |
equals(Object obj) |
String |
getApiCachingBehavior()
Caching behavior.
|
String |
getApiId()
The GraphQL API Id.
|
Long |
getTtl()
TTL in seconds for cache entries.
|
String |
getType()
The cache instance type.
|
int |
hashCode() |
void |
setApiCachingBehavior(String apiCachingBehavior)
Caching behavior.
|
void |
setApiId(String apiId)
The GraphQL API Id.
|
void |
setTtl(Long ttl)
TTL in seconds for cache entries.
|
void |
setType(String type)
The cache instance type.
|
String |
toString()
Returns a string representation of this object.
|
UpdateApiCacheRequest |
withApiCachingBehavior(ApiCachingBehavior apiCachingBehavior)
Caching behavior.
|
UpdateApiCacheRequest |
withApiCachingBehavior(String apiCachingBehavior)
Caching behavior.
|
UpdateApiCacheRequest |
withApiId(String apiId)
The GraphQL API Id.
|
UpdateApiCacheRequest |
withTtl(Long ttl)
TTL in seconds for cache entries.
|
UpdateApiCacheRequest |
withType(ApiCacheType type)
The cache instance type.
|
UpdateApiCacheRequest |
withType(String type)
The cache instance type.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApiId(String apiId)
The GraphQL API Id.
apiId
- The GraphQL API Id.public String getApiId()
The GraphQL API Id.
public UpdateApiCacheRequest withApiId(String apiId)
The GraphQL API Id.
apiId
- The GraphQL API Id.public void setTtl(Long ttl)
TTL in seconds for cache entries.
Valid values are between 1 and 3600 seconds.
ttl
- TTL in seconds for cache entries.
Valid values are between 1 and 3600 seconds.
public Long getTtl()
TTL in seconds for cache entries.
Valid values are between 1 and 3600 seconds.
Valid values are between 1 and 3600 seconds.
public UpdateApiCacheRequest withTtl(Long ttl)
TTL in seconds for cache entries.
Valid values are between 1 and 3600 seconds.
ttl
- TTL in seconds for cache entries.
Valid values are between 1 and 3600 seconds.
public void setApiCachingBehavior(String apiCachingBehavior)
Caching behavior.
FULL_REQUEST_CACHING: All requests are fully cached.
PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.
apiCachingBehavior
- Caching behavior.
FULL_REQUEST_CACHING: All requests are fully cached.
PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.
ApiCachingBehavior
public String getApiCachingBehavior()
Caching behavior.
FULL_REQUEST_CACHING: All requests are fully cached.
PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.
FULL_REQUEST_CACHING: All requests are fully cached.
PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.
ApiCachingBehavior
public UpdateApiCacheRequest withApiCachingBehavior(String apiCachingBehavior)
Caching behavior.
FULL_REQUEST_CACHING: All requests are fully cached.
PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.
apiCachingBehavior
- Caching behavior.
FULL_REQUEST_CACHING: All requests are fully cached.
PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.
ApiCachingBehavior
public UpdateApiCacheRequest withApiCachingBehavior(ApiCachingBehavior apiCachingBehavior)
Caching behavior.
FULL_REQUEST_CACHING: All requests are fully cached.
PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.
apiCachingBehavior
- Caching behavior.
FULL_REQUEST_CACHING: All requests are fully cached.
PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.
ApiCachingBehavior
public void setType(String type)
The cache instance type.
T2_SMALL: A t2.small instance type.
T2_MEDIUM: A t2.medium instance type.
R4_LARGE: A r4.large instance type.
R4_XLARGE: A r4.xlarge instance type.
R4_2XLARGE: A r4.2xlarge instance type.
R4_4XLARGE: A r4.4xlarge instance type.
R4_8XLARGE: A r4.8xlarge instance type.
type
- The cache instance type.
T2_SMALL: A t2.small instance type.
T2_MEDIUM: A t2.medium instance type.
R4_LARGE: A r4.large instance type.
R4_XLARGE: A r4.xlarge instance type.
R4_2XLARGE: A r4.2xlarge instance type.
R4_4XLARGE: A r4.4xlarge instance type.
R4_8XLARGE: A r4.8xlarge instance type.
ApiCacheType
public String getType()
The cache instance type.
T2_SMALL: A t2.small instance type.
T2_MEDIUM: A t2.medium instance type.
R4_LARGE: A r4.large instance type.
R4_XLARGE: A r4.xlarge instance type.
R4_2XLARGE: A r4.2xlarge instance type.
R4_4XLARGE: A r4.4xlarge instance type.
R4_8XLARGE: A r4.8xlarge instance type.
T2_SMALL: A t2.small instance type.
T2_MEDIUM: A t2.medium instance type.
R4_LARGE: A r4.large instance type.
R4_XLARGE: A r4.xlarge instance type.
R4_2XLARGE: A r4.2xlarge instance type.
R4_4XLARGE: A r4.4xlarge instance type.
R4_8XLARGE: A r4.8xlarge instance type.
ApiCacheType
public UpdateApiCacheRequest withType(String type)
The cache instance type.
T2_SMALL: A t2.small instance type.
T2_MEDIUM: A t2.medium instance type.
R4_LARGE: A r4.large instance type.
R4_XLARGE: A r4.xlarge instance type.
R4_2XLARGE: A r4.2xlarge instance type.
R4_4XLARGE: A r4.4xlarge instance type.
R4_8XLARGE: A r4.8xlarge instance type.
type
- The cache instance type.
T2_SMALL: A t2.small instance type.
T2_MEDIUM: A t2.medium instance type.
R4_LARGE: A r4.large instance type.
R4_XLARGE: A r4.xlarge instance type.
R4_2XLARGE: A r4.2xlarge instance type.
R4_4XLARGE: A r4.4xlarge instance type.
R4_8XLARGE: A r4.8xlarge instance type.
ApiCacheType
public UpdateApiCacheRequest withType(ApiCacheType type)
The cache instance type.
T2_SMALL: A t2.small instance type.
T2_MEDIUM: A t2.medium instance type.
R4_LARGE: A r4.large instance type.
R4_XLARGE: A r4.xlarge instance type.
R4_2XLARGE: A r4.2xlarge instance type.
R4_4XLARGE: A r4.4xlarge instance type.
R4_8XLARGE: A r4.8xlarge instance type.
type
- The cache instance type.
T2_SMALL: A t2.small instance type.
T2_MEDIUM: A t2.medium instance type.
R4_LARGE: A r4.large instance type.
R4_XLARGE: A r4.xlarge instance type.
R4_2XLARGE: A r4.2xlarge instance type.
R4_4XLARGE: A r4.4xlarge instance type.
R4_8XLARGE: A r4.8xlarge instance type.
ApiCacheType
public String toString()
toString
in class Object
Object.toString()
public UpdateApiCacheRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2020. All rights reserved.