Interface CollectorResponse.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CollectorResponse.Builder,CollectorResponse>, SdkBuilder<CollectorResponse.Builder,CollectorResponse>, SdkPojo
Enclosing class:
CollectorResponse

public static interface CollectorResponse.Builder extends SdkPojo, CopyableBuilder<CollectorResponse.Builder,CollectorResponse>
  • Method Details

    • collectorReferencedId

      CollectorResponse.Builder collectorReferencedId(String collectorReferencedId)

      The reference ID of the Fleet Advisor collector.

      Parameters:
      collectorReferencedId - The reference ID of the Fleet Advisor collector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectorName

      CollectorResponse.Builder collectorName(String collectorName)

      The name of the Fleet Advisor collector .

      Parameters:
      collectorName - The name of the Fleet Advisor collector .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectorVersion

      CollectorResponse.Builder collectorVersion(String collectorVersion)

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

      Parameters:
      collectorVersion - The version of your Fleet Advisor collector, in semantic versioning format, for example 1.0.2
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionStatus

      CollectorResponse.Builder versionStatus(String versionStatus)

      Whether the collector version is up to date.

      Parameters:
      versionStatus - Whether the collector version is up to date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • versionStatus

      CollectorResponse.Builder versionStatus(VersionStatus versionStatus)

      Whether the collector version is up to date.

      Parameters:
      versionStatus - Whether the collector version is up to date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      CollectorResponse.Builder description(String description)

      A summary description of the Fleet Advisor collector.

      Parameters:
      description - A summary description of the Fleet Advisor collector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3BucketName

      CollectorResponse.Builder s3BucketName(String s3BucketName)

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

      Parameters:
      s3BucketName - The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceAccessRoleArn

      CollectorResponse.Builder serviceAccessRoleArn(String serviceAccessRoleArn)

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

      Parameters:
      serviceAccessRoleArn - The IAM role that grants permissions to access the specified Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectorHealthCheck

      CollectorResponse.Builder collectorHealthCheck(CollectorHealthCheck collectorHealthCheck)
      Sets the value of the CollectorHealthCheck property for this object.
      Parameters:
      collectorHealthCheck - The new value for the CollectorHealthCheck property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectorHealthCheck

      default CollectorResponse.Builder collectorHealthCheck(Consumer<CollectorHealthCheck.Builder> collectorHealthCheck)
      Sets the value of the CollectorHealthCheck property for this object. This is a convenience method that creates an instance of the CollectorHealthCheck.Builder avoiding the need to create one manually via CollectorHealthCheck.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to collectorHealthCheck(CollectorHealthCheck).

      Parameters:
      collectorHealthCheck - a consumer that will call methods on CollectorHealthCheck.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastDataReceived

      CollectorResponse.Builder lastDataReceived(String lastDataReceived)

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

      Parameters:
      lastDataReceived - The timestamp of the last time the collector received data, in the following format: 2022-01-24T19:04:02.596113Z
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registeredDate

      CollectorResponse.Builder registeredDate(String registeredDate)

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

      Parameters:
      registeredDate - The timestamp when DMS registered the collector, in the following format: 2022-01-24T19:04:02.596113Z
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      CollectorResponse.Builder createdDate(String createdDate)

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

      Parameters:
      createdDate - The timestamp when you created the collector, in the following format: 2022-01-24T19:04:02.596113Z
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedDate

      CollectorResponse.Builder modifiedDate(String modifiedDate)

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

      Parameters:
      modifiedDate - The timestamp when DMS last modified the collector, in the following format: 2022-01-24T19:04:02.596113Z
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inventoryData

      CollectorResponse.Builder inventoryData(InventoryData inventoryData)
      Sets the value of the InventoryData property for this object.
      Parameters:
      inventoryData - The new value for the InventoryData property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inventoryData

      default CollectorResponse.Builder inventoryData(Consumer<InventoryData.Builder> inventoryData)
      Sets the value of the InventoryData property for this object. This is a convenience method that creates an instance of the InventoryData.Builder avoiding the need to create one manually via InventoryData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inventoryData(InventoryData).

      Parameters:
      inventoryData - a consumer that will call methods on InventoryData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: