Interface CreateDatasetResponse.Builder

  • Method Details

    • datasetId

      CreateDatasetResponse.Builder datasetId(String datasetId)

      The ID of the dataset.

      Parameters:
      datasetId - The ID of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetArn

      CreateDatasetResponse.Builder datasetArn(String datasetArn)

      The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.

      Parameters:
      datasetArn - The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetStatus

      CreateDatasetResponse.Builder datasetStatus(DatasetStatus datasetStatus)

      The status of the dataset. This contains the state and any error messages. State is CREATING after a successfull call to this API, and any associated error message. The state is ACTIVE when ready to use.

      Parameters:
      datasetStatus - The status of the dataset. This contains the state and any error messages. State is CREATING after a successfull call to this API, and any associated error message. The state is ACTIVE when ready to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetStatus

      default CreateDatasetResponse.Builder datasetStatus(Consumer<DatasetStatus.Builder> datasetStatus)

      The status of the dataset. This contains the state and any error messages. State is CREATING after a successfull call to this API, and any associated error message. The state is ACTIVE when ready to use.

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

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

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