public static interface ValidationException.Builder extends SdkPojo, CopyableBuilder<ValidationException.Builder,ValidationException>, LocationException.Builder
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, messageequalsBySdkFields, sdkFieldsValidationException.Builder fieldList(Collection<ValidationExceptionField> fieldList)
The field where the invalid entry was detected.
fieldList - The field where the invalid entry was detected.ValidationException.Builder fieldList(ValidationExceptionField... fieldList)
The field where the invalid entry was detected.
fieldList - The field where the invalid entry was detected.ValidationException.Builder fieldList(Consumer<ValidationExceptionField.Builder>... fieldList)
The field where the invalid entry was detected.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #fieldList(List) .fieldList - a consumer that will call methods on List.Builder #fieldList(List) ValidationException.Builder reason(String reason)
A message with the reason for the validation exception error.
reason - A message with the reason for the validation exception error.ValidationExceptionReason,
ValidationExceptionReasonValidationException.Builder reason(ValidationExceptionReason reason)
A message with the reason for the validation exception error.
reason - A message with the reason for the validation exception error.ValidationExceptionReason,
ValidationExceptionReasonValidationException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface LocationException.BuilderValidationException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface LocationException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderValidationException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface LocationException.BuilderrequestId in interface SdkServiceException.BuilderValidationException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface LocationException.BuilderstatusCode in interface SdkServiceException.BuilderValidationException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface LocationException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderCopyright © 2022. All rights reserved.