JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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.greengrassv2.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

      • setReason

        public void setReason(String reason)

        The reason for the validation exception.

        Parameters:
        reason - The reason for the validation exception.
        See Also:
        ValidationExceptionReason
      • getReason

        public String getReason()

        The reason for the validation exception.

        Returns:
        The reason for the validation exception.
        See Also:
        ValidationExceptionReason
      • withReason

        public ValidationException withReason(String reason)

        The reason for the validation exception.

        Parameters:
        reason - The reason for the validation exception.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ValidationExceptionReason
      • getFields

        public List<ValidationExceptionField> getFields()

        The list of fields that failed to validate.

        Returns:
        The list of fields that failed to validate.
      • setFields

        public void setFields(Collection<ValidationExceptionField> fields)

        The list of fields that failed to validate.

        Parameters:
        fields - The list of fields that failed to validate.
      • withFields

        public ValidationException withFields(Collection<ValidationExceptionField> fields)

        The list of fields that failed to validate.

        Parameters:
        fields - The list of fields that failed to validate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
Skip navigation links

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