@Generated(value="software.amazon.awssdk:codegen") public final class PolicyEnforcedException extends GlacierException implements ToCopyableBuilder<PolicyEnforcedException.Builder,PolicyEnforcedException>
Returned if a retrieval job would exceed the current data policy's retrieval rate limit. For more information about data retrieval policies,
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyEnforcedException.Builder |
Modifier and Type | Method and Description |
---|---|
static PolicyEnforcedException.Builder |
builder() |
String |
code()
PolicyEnforcedException
|
static Class<? extends PolicyEnforcedException.Builder> |
serializableBuilderClass() |
PolicyEnforcedException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
String |
type()
Client
|
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 PolicyEnforcedException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<PolicyEnforcedException.Builder,PolicyEnforcedException>
toBuilder
in class GlacierException
public static PolicyEnforcedException.Builder builder()
public static Class<? extends PolicyEnforcedException.Builder> serializableBuilderClass()
public String type()
Client
public String code()
PolicyEnforcedException
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.