@Generated(value="software.amazon.awssdk:codegen") public final class TrailAlreadyExistsException extends CloudTrailException implements ToCopyableBuilder<TrailAlreadyExistsException.Builder,TrailAlreadyExistsException>
This exception is thrown when the specified trail already exists.
Modifier and Type | Class and Description |
---|---|
static interface |
TrailAlreadyExistsException.Builder |
Modifier and Type | Method and Description |
---|---|
static TrailAlreadyExistsException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrailAlreadyExistsException.Builder> |
serializableBuilderClass() |
TrailAlreadyExistsException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public TrailAlreadyExistsException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<TrailAlreadyExistsException.Builder,TrailAlreadyExistsException>
toBuilder
in class CloudTrailException
public static TrailAlreadyExistsException.Builder builder()
public static Class<? extends TrailAlreadyExistsException.Builder> serializableBuilderClass()