Class SearchByAttributeValue

java.lang.Object
software.amazon.awssdk.services.medicalimaging.model.SearchByAttributeValue
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<SearchByAttributeValue.Builder,SearchByAttributeValue>

@Generated("software.amazon.awssdk:codegen") public final class SearchByAttributeValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchByAttributeValue.Builder,SearchByAttributeValue>

The search input attribute value.

See Also:
  • Method Details

    • dicomPatientId

      public final String dicomPatientId()

      The patient ID input for search.

      Returns:
      The patient ID input for search.
    • dicomAccessionNumber

      public final String dicomAccessionNumber()

      The DICOM accession number for search.

      Returns:
      The DICOM accession number for search.
    • dicomStudyId

      public final String dicomStudyId()

      The DICOM study ID for search.

      Returns:
      The DICOM study ID for search.
    • dicomStudyInstanceUID

      public final String dicomStudyInstanceUID()

      The DICOM study instance UID for search.

      Returns:
      The DICOM study instance UID for search.
    • dicomSeriesInstanceUID

      public final String dicomSeriesInstanceUID()

      The Series Instance UID input for search.

      Returns:
      The Series Instance UID input for search.
    • createdAt

      public final Instant createdAt()

      The created at time of the image set provided for search.

      Returns:
      The created at time of the image set provided for search.
    • updatedAt

      public final Instant updatedAt()

      The timestamp input for search.

      Returns:
      The timestamp input for search.
    • dicomStudyDateAndTime

      public final DICOMStudyDateAndTime dicomStudyDateAndTime()

      The aggregated structure containing DICOM study date and study time for search.

      Returns:
      The aggregated structure containing DICOM study date and study time for search.
    • isPrimary

      public final Boolean isPrimary()

      The primary image set flag provided for search.

      Returns:
      The primary image set flag provided for search.
    • toBuilder

      public SearchByAttributeValue.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<SearchByAttributeValue.Builder,SearchByAttributeValue>
      Returns:
      a builder for type T
    • builder

      public static SearchByAttributeValue.Builder builder()
    • serializableBuilderClass

      public static Class<? extends SearchByAttributeValue.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • fromDicomPatientId

      public static SearchByAttributeValue fromDicomPatientId(String dicomPatientId)
      Create an instance of this class with dicomPatientId() initialized to the given value.

      The patient ID input for search.

      Parameters:
      dicomPatientId - The patient ID input for search.
    • fromDicomAccessionNumber

      public static SearchByAttributeValue fromDicomAccessionNumber(String dicomAccessionNumber)
      Create an instance of this class with dicomAccessionNumber() initialized to the given value.

      The DICOM accession number for search.

      Parameters:
      dicomAccessionNumber - The DICOM accession number for search.
    • fromDicomStudyId

      public static SearchByAttributeValue fromDicomStudyId(String dicomStudyId)
      Create an instance of this class with dicomStudyId() initialized to the given value.

      The DICOM study ID for search.

      Parameters:
      dicomStudyId - The DICOM study ID for search.
    • fromDicomStudyInstanceUID

      public static SearchByAttributeValue fromDicomStudyInstanceUID(String dicomStudyInstanceUID)
      Create an instance of this class with dicomStudyInstanceUID() initialized to the given value.

      The DICOM study instance UID for search.

      Parameters:
      dicomStudyInstanceUID - The DICOM study instance UID for search.
    • fromDicomSeriesInstanceUID

      public static SearchByAttributeValue fromDicomSeriesInstanceUID(String dicomSeriesInstanceUID)
      Create an instance of this class with dicomSeriesInstanceUID() initialized to the given value.

      The Series Instance UID input for search.

      Parameters:
      dicomSeriesInstanceUID - The Series Instance UID input for search.
    • fromCreatedAt

      public static SearchByAttributeValue fromCreatedAt(Instant createdAt)
      Create an instance of this class with createdAt() initialized to the given value.

      The created at time of the image set provided for search.

      Parameters:
      createdAt - The created at time of the image set provided for search.
    • fromUpdatedAt

      public static SearchByAttributeValue fromUpdatedAt(Instant updatedAt)
      Create an instance of this class with updatedAt() initialized to the given value.

      The timestamp input for search.

      Parameters:
      updatedAt - The timestamp input for search.
    • fromDicomStudyDateAndTime

      public static SearchByAttributeValue fromDicomStudyDateAndTime(DICOMStudyDateAndTime dicomStudyDateAndTime)
      Create an instance of this class with dicomStudyDateAndTime() initialized to the given value.

      The aggregated structure containing DICOM study date and study time for search.

      Parameters:
      dicomStudyDateAndTime - The aggregated structure containing DICOM study date and study time for search.
    • fromDicomStudyDateAndTime

      public static SearchByAttributeValue fromDicomStudyDateAndTime(Consumer<DICOMStudyDateAndTime.Builder> dicomStudyDateAndTime)
      Create an instance of this class with dicomStudyDateAndTime() initialized to the given value.

      The aggregated structure containing DICOM study date and study time for search.

      Parameters:
      dicomStudyDateAndTime - The aggregated structure containing DICOM study date and study time for search.
    • fromIsPrimary

      public static SearchByAttributeValue fromIsPrimary(Boolean isPrimary)
      Create an instance of this class with isPrimary() initialized to the given value.

      The primary image set flag provided for search.

      Parameters:
      isPrimary - The primary image set flag provided for search.
    • type

      Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will be SearchByAttributeValue.Type.UNKNOWN_TO_SDK_VERSION if the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will be SearchByAttributeValue.Type.UNKNOWN_TO_SDK_VERSION if zero members are set, and null if more than one member is set.
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.