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.iotfleetwise.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 the input failed to satisfy the constraints specified by an Amazon Web Services service.

        Parameters:
        reason - The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.
        See Also:
        ValidationExceptionReason
      • getReason

        public String getReason()

        The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.

        Returns:
        The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.
        See Also:
        ValidationExceptionReason
      • withReason

        public ValidationException withReason(String reason)

        The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.

        Parameters:
        reason - The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ValidationExceptionReason
      • withReason

        public ValidationException withReason(ValidationExceptionReason reason)

        The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.

        Parameters:
        reason - The reason the input failed to satisfy the constraints specified by an Amazon Web Services service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ValidationExceptionReason
      • getFieldList

        public List<ValidationExceptionField> getFieldList()

        The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.

        Returns:
        The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
      • setFieldList

        public void setFieldList(Collection<ValidationExceptionField> fieldList)

        The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.

        Parameters:
        fieldList - The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
      • withFieldList

        public ValidationException withFieldList(ValidationExceptionField... fieldList)

        The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.

        NOTE: This method appends the values to the existing list (if any). Use setFieldList(java.util.Collection) or withFieldList(java.util.Collection) if you want to override the existing values.

        Parameters:
        fieldList - The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFieldList

        public ValidationException withFieldList(Collection<ValidationExceptionField> fieldList)

        The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.

        Parameters:
        fieldList - The list of fields that fail to satisfy the constraints specified by an Amazon Web Services service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
Skip navigation links

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