@Generated(value="software.amazon.awssdk:codegen") public class InvalidEventSelectorsException extends CloudTrailException implements ToCopyableBuilder<InvalidEventSelectorsException.Builder,InvalidEventSelectorsException>
This exception is thrown when the PutEventSelectors
operation is called with an invalid number of event
selectors, data resources, or an invalid value for a parameter:
Specify a valid number of event selectors (1 to 5) for a trail.
Specify a valid number of data resources (1 to 250) for an event selector.
Specify a valid value for a parameter. For example, specifying the ReadWriteType
parameter with a value
of read-only
is invalid.
Modifier and Type | Class and Description |
---|---|
static interface |
InvalidEventSelectorsException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidEventSelectorsException.Builder |
builder() |
static Class<? extends InvalidEventSelectorsException.Builder> |
serializableBuilderClass() |
InvalidEventSelectorsException.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public InvalidEventSelectorsException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InvalidEventSelectorsException.Builder,InvalidEventSelectorsException>
public static InvalidEventSelectorsException.Builder builder()
public static Class<? extends InvalidEventSelectorsException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.