@Generated(value="software.amazon.awssdk:codegen") public final class InvalidRetentionPeriodException extends RedshiftException implements ToCopyableBuilder<InvalidRetentionPeriodException.Builder,InvalidRetentionPeriodException>
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
Modifier and Type | Class and Description |
---|---|
static interface |
InvalidRetentionPeriodException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidRetentionPeriodException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidRetentionPeriodException.Builder> |
serializableBuilderClass() |
InvalidRetentionPeriodException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public InvalidRetentionPeriodException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<InvalidRetentionPeriodException.Builder,InvalidRetentionPeriodException>
toBuilder
in class RedshiftException
public static InvalidRetentionPeriodException.Builder builder()
public static Class<? extends InvalidRetentionPeriodException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.