Interface GetDataSubscriptionResponse.Builder

  • Method Details

    • dataSubscriptionIdentifier

      GetDataSubscriptionResponse.Builder dataSubscriptionIdentifier(String dataSubscriptionIdentifier)
      Sets the value of the DataSubscriptionIdentifier property for this object.
      Parameters:
      dataSubscriptionIdentifier - The new value for the DataSubscriptionIdentifier property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • catalog

      Sets the value of the Catalog property for this object.
      Parameters:
      catalog - The new value for the Catalog property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetName

      GetDataSubscriptionResponse.Builder datasetName(String datasetName)
      Sets the value of the DatasetName property for this object.
      Parameters:
      datasetName - The new value for the DatasetName property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryMethod

      GetDataSubscriptionResponse.Builder deliveryMethod(String deliveryMethod)
      Sets the value of the DeliveryMethod property for this object.
      Parameters:
      deliveryMethod - The new value for the DeliveryMethod property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveryMethod

      GetDataSubscriptionResponse.Builder deliveryMethod(DeliveryMethod deliveryMethod)
      Sets the value of the DeliveryMethod property for this object.
      Parameters:
      deliveryMethod - The new value for the DeliveryMethod property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • s3Arn

      Sets the value of the S3Arn property for this object.
      Parameters:
      s3Arn - The new value for the S3Arn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyArn

      Sets the value of the KmsKeyArn property for this object.
      Parameters:
      kmsKeyArn - The new value for the KmsKeyArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createTimestamp

      GetDataSubscriptionResponse.Builder createTimestamp(Instant createTimestamp)

      When the subscription was created.

      Parameters:
      createTimestamp - When the subscription was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryCompleteness

      GetDataSubscriptionResponse.Builder deliveryCompleteness(Instant deliveryCompleteness)

      The extract date through which data has been delivered. Absent until the first successful delivery.

      Parameters:
      deliveryCompleteness - The extract date through which data has been delivered. Absent until the first successful delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryStatus

      GetDataSubscriptionResponse.Builder deliveryStatus(String deliveryStatus)

      The lifecycle state of the subscription.

      Parameters:
      deliveryStatus - The lifecycle state of the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveryStatus

      GetDataSubscriptionResponse.Builder deliveryStatus(DeliveryStatus deliveryStatus)

      The lifecycle state of the subscription.

      Parameters:
      deliveryStatus - The lifecycle state of the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveryStatusMessage

      GetDataSubscriptionResponse.Builder deliveryStatusMessage(String deliveryStatusMessage)

      Additional detail about the delivery status, when available.

      Parameters:
      deliveryStatusMessage - Additional detail about the delivery status, when available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleteTimestamp

      GetDataSubscriptionResponse.Builder deleteTimestamp(Instant deleteTimestamp)

      When the subscription was deleted. Present only on deleted subscriptions.

      Parameters:
      deleteTimestamp - When the subscription was deleted. Present only on deleted subscriptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryState

      GetDataSubscriptionResponse.Builder deliveryState(String deliveryState)

      The delivery state of the subscription, summarizing whether data is arriving in your bucket as expected. See DeliveryState for what each value means. Absent when the service cannot determine it.

      Parameters:
      deliveryState - The delivery state of the subscription, summarizing whether data is arriving in your bucket as expected. See DeliveryState for what each value means. Absent when the service cannot determine it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveryState

      GetDataSubscriptionResponse.Builder deliveryState(DeliveryState deliveryState)

      The delivery state of the subscription, summarizing whether data is arriving in your bucket as expected. See DeliveryState for what each value means. Absent when the service cannot determine it.

      Parameters:
      deliveryState - The delivery state of the subscription, summarizing whether data is arriving in your bucket as expected. See DeliveryState for what each value means. Absent when the service cannot determine it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveredThrough

      GetDataSubscriptionResponse.Builder deliveredThrough(Instant deliveredThrough)

      The extract date through which data has been delivered to your bucket. Same value as deliveryCompleteness; prefer this member. Absent until the first successful delivery.

      Parameters:
      deliveredThrough - The extract date through which data has been delivered to your bucket. Same value as deliveryCompleteness; prefer this member. Absent until the first successful delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastDeliveryTime

      GetDataSubscriptionResponse.Builder lastDeliveryTime(Instant lastDeliveryTime)

      When the most recent delivery cycle finished. Absent until a delivery cycle has finished.

      Parameters:
      lastDeliveryTime - When the most recent delivery cycle finished. Absent until a delivery cycle has finished.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryStateMessage

      GetDataSubscriptionResponse.Builder deliveryStateMessage(String deliveryStateMessage)

      A message that explains the delivery state. Present when deliveryState is ACTION_NEEDED, where it describes why the last write to your bucket was refused so you can fix the bucket policy or KMS key.

      Parameters:
      deliveryStateMessage - A message that explains the delivery state. Present when deliveryState is ACTION_NEEDED, where it describes why the last write to your bucket was refused so you can fix the bucket policy or KMS key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initialDeliveryProgress

      GetDataSubscriptionResponse.Builder initialDeliveryProgress(InitialDeliveryProgress initialDeliveryProgress)

      How far the first fill of the dataset's history has progressed. Present only when deliveryState is INITIAL_DELIVERY.

      Parameters:
      initialDeliveryProgress - How far the first fill of the dataset's history has progressed. Present only when deliveryState is INITIAL_DELIVERY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initialDeliveryProgress

      default GetDataSubscriptionResponse.Builder initialDeliveryProgress(Consumer<InitialDeliveryProgress.Builder> initialDeliveryProgress)

      How far the first fill of the dataset's history has progressed. Present only when deliveryState is INITIAL_DELIVERY.

      This is a convenience method that creates an instance of the InitialDeliveryProgress.Builder avoiding the need to create one manually via InitialDeliveryProgress.builder().

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

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