public static interface ValidationException.Builder extends SdkPojo, CopyableBuilder<ValidationException.Builder,ValidationException>, IoTFleetWiseException.Builder
| Modifier and Type | Method and Description |
|---|---|
ValidationException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
ValidationException.Builder |
cause(Throwable cause) |
ValidationException.Builder |
fieldList(Collection<ValidationExceptionField> fieldList)
The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
|
ValidationException.Builder |
fieldList(Consumer<ValidationExceptionField.Builder>... fieldList)
The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
|
ValidationException.Builder |
fieldList(ValidationExceptionField... fieldList)
The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
|
ValidationException.Builder |
message(String message) |
ValidationException.Builder |
reason(String reason)
The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.
|
ValidationException.Builder |
reason(ValidationExceptionReason reason)
The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.
|
ValidationException.Builder |
requestId(String requestId) |
ValidationException.Builder |
statusCode(int statusCode) |
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, messageequalsBySdkFields, sdkFieldsValidationException.Builder reason(String reason)
The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.
reason - The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.ValidationExceptionReason,
ValidationExceptionReasonValidationException.Builder reason(ValidationExceptionReason reason)
The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.
reason - The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.ValidationExceptionReason,
ValidationExceptionReasonValidationException.Builder fieldList(Collection<ValidationExceptionField> fieldList)
The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
fieldList - The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.ValidationException.Builder fieldList(ValidationExceptionField... fieldList)
The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
fieldList - The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.ValidationException.Builder fieldList(Consumer<ValidationExceptionField.Builder>... fieldList)
The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
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 #fieldList(List.
fieldList - a consumer that will call methods on
ValidationExceptionField.Builder#fieldList(java.util.Collection) ValidationException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface IoTFleetWiseException.BuilderValidationException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface IoTFleetWiseException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderValidationException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface IoTFleetWiseException.BuilderrequestId in interface SdkServiceException.BuilderValidationException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface IoTFleetWiseException.BuilderstatusCode in interface SdkServiceException.BuilderValidationException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface IoTFleetWiseException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderCopyright © 2022. All rights reserved.