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

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

Describes a Fleet Advisor collector.

See Also:
  • Method Details

    • collectorReferencedId

      public final String collectorReferencedId()

      The reference ID of the Fleet Advisor collector.

      Returns:
      The reference ID of the Fleet Advisor collector.
    • collectorName

      public final String collectorName()

      The name of the Fleet Advisor collector .

      Returns:
      The name of the Fleet Advisor collector .
    • collectorVersion

      public final String collectorVersion()

      The version of your Fleet Advisor collector, in semantic versioning format, for example 1.0.2

      Returns:
      The version of your Fleet Advisor collector, in semantic versioning format, for example 1.0.2
    • versionStatus

      public final VersionStatus versionStatus()

      Whether the collector version is up to date.

      If the service returns an enum value that is not available in the current SDK version, versionStatus will return VersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from versionStatusAsString().

      Returns:
      Whether the collector version is up to date.
      See Also:
    • versionStatusAsString

      public final String versionStatusAsString()

      Whether the collector version is up to date.

      If the service returns an enum value that is not available in the current SDK version, versionStatus will return VersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from versionStatusAsString().

      Returns:
      Whether the collector version is up to date.
      See Also:
    • description

      public final String description()

      A summary description of the Fleet Advisor collector.

      Returns:
      A summary description of the Fleet Advisor collector.
    • s3BucketName

      public final String s3BucketName()

      The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.

      Returns:
      The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.
    • serviceAccessRoleArn

      public final String serviceAccessRoleArn()

      The IAM role that grants permissions to access the specified Amazon S3 bucket.

      Returns:
      The IAM role that grants permissions to access the specified Amazon S3 bucket.
    • collectorHealthCheck

      public final CollectorHealthCheck collectorHealthCheck()
      Returns the value of the CollectorHealthCheck property for this object.
      Returns:
      The value of the CollectorHealthCheck property for this object.
    • lastDataReceived

      public final String lastDataReceived()

      The timestamp of the last time the collector received data, in the following format: 2022-01-24T19:04:02.596113Z

      Returns:
      The timestamp of the last time the collector received data, in the following format: 2022-01-24T19:04:02.596113Z
    • registeredDate

      public final String registeredDate()

      The timestamp when DMS registered the collector, in the following format: 2022-01-24T19:04:02.596113Z

      Returns:
      The timestamp when DMS registered the collector, in the following format: 2022-01-24T19:04:02.596113Z
    • createdDate

      public final String createdDate()

      The timestamp when you created the collector, in the following format: 2022-01-24T19:04:02.596113Z

      Returns:
      The timestamp when you created the collector, in the following format: 2022-01-24T19:04:02.596113Z
    • modifiedDate

      public final String modifiedDate()

      The timestamp when DMS last modified the collector, in the following format: 2022-01-24T19:04:02.596113Z

      Returns:
      The timestamp when DMS last modified the collector, in the following format: 2022-01-24T19:04:02.596113Z
    • inventoryData

      public final InventoryData inventoryData()
      Returns the value of the InventoryData property for this object.
      Returns:
      The value of the InventoryData property for this object.
    • toBuilder

      public CollectorResponse.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<CollectorResponse.Builder,CollectorResponse>
      Returns:
      a builder for type T
    • builder

      public static CollectorResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends CollectorResponse.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)
    • 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.