public static interface ValidationException.Builder extends SdkPojo, CopyableBuilder<ValidationException.Builder,ValidationException>, PanoramaException.Builder
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, messageequalsBySdkFields, sdkFieldsValidationException.Builder errorArguments(Collection<ValidationExceptionErrorArgument> errorArguments)
A list of attributes that led to the exception and their values.
errorArguments - A list of attributes that led to the exception and their values.ValidationException.Builder errorArguments(ValidationExceptionErrorArgument... errorArguments)
A list of attributes that led to the exception and their values.
errorArguments - A list of attributes that led to the exception and their values.ValidationException.Builder errorArguments(Consumer<ValidationExceptionErrorArgument.Builder>... errorArguments)
A list of attributes that led to the exception and their values.
This is a convenience method that creates an instance of theValidationExceptionErrorArgument.Builder avoiding the
need to create one manually via
ValidationExceptionErrorArgument.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #errorArguments(List.
errorArguments - a consumer that will call methods on
ValidationExceptionErrorArgument.Builder#errorArguments(java.util.Collection) ValidationException.Builder errorId(String errorId)
A unique ID for the error.
errorId - A unique ID for the error.ValidationException.Builder fields(Collection<ValidationExceptionField> fields)
A list of request parameters that failed validation.
fields - A list of request parameters that failed validation.ValidationException.Builder fields(ValidationExceptionField... fields)
A list of request parameters that failed validation.
fields - A list of request parameters that failed validation.ValidationException.Builder fields(Consumer<ValidationExceptionField.Builder>... fields)
A list of request parameters that failed validation.
This is a convenience method that creates an instance of theValidationExceptionField.Builder avoiding the need to
create one manually via
ValidationExceptionField.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #fields(List.
fields - a consumer that will call methods on
ValidationExceptionField.Builder#fields(java.util.Collection) ValidationException.Builder reason(String reason)
The reason that validation failed.
reason - The reason that validation failed.ValidationExceptionReason,
ValidationExceptionReasonValidationException.Builder reason(ValidationExceptionReason reason)
The reason that validation failed.
reason - The reason that validation failed.ValidationExceptionReason,
ValidationExceptionReasonValidationException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface PanoramaException.BuilderValidationException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface PanoramaException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderValidationException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface PanoramaException.BuilderrequestId in interface SdkServiceException.BuilderValidationException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface PanoramaException.BuilderstatusCode in interface SdkServiceException.BuilderValidationException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface PanoramaException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderCopyright © 2022. All rights reserved.