JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codegurusecurity.model

Class ValidationException

    • Constructor Detail

      • ValidationException

        public ValidationException(String message)
        Constructs a new ValidationException with the specified error message.
        Parameters:
        message - Describes the error encountered.
    • Method Detail

      • withErrorCode

        public ValidationException withErrorCode(String errorCode)

        The identifier for the error.

        Parameters:
        errorCode - The identifier for the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getFieldList

        public List<ValidationExceptionField> getFieldList()

        The field that caused the error, if applicable.

        Returns:
        The field that caused the error, if applicable.
      • setFieldList

        public void setFieldList(Collection<ValidationExceptionField> fieldList)

        The field that caused the error, if applicable.

        Parameters:
        fieldList - The field that caused the error, if applicable.
      • withFieldList

        public ValidationException withFieldList(Collection<ValidationExceptionField> fieldList)

        The field that caused the error, if applicable.

        Parameters:
        fieldList - The field that caused the error, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReason

        public void setReason(String reason)

        The reason the request failed validation.

        Parameters:
        reason - The reason the request failed validation.
        See Also:
        ValidationExceptionReason
      • getReason

        public String getReason()

        The reason the request failed validation.

        Returns:
        The reason the request failed validation.
        See Also:
        ValidationExceptionReason
      • withReason

        public ValidationException withReason(String reason)

        The reason the request failed validation.

        Parameters:
        reason - The reason the request failed validation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ValidationExceptionReason
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /