Interface CreateDatasetRequest.Builder

  • Method Details

    • domainId

      The unique identifier of the parent Domain.

      Parameters:
      domainId - The unique identifier of the parent Domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A name for the dataset.

      Parameters:
      name - A name for the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • config

      The configuration of the dataset. The member that you set determines the dataset type. You can't change the configuration after you create the dataset.

      Parameters:
      config - The configuration of the dataset. The member that you set determines the dataset type. You can't change the configuration after you create the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • config

      The configuration of the dataset. The member that you set determines the dataset type. You can't change the configuration after you create the dataset.

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

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

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

      CreateDatasetRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation returns the dataset that the first request created. If you reuse a clientToken with different parameters, the request fails with ConflictException. Use a new clientToken for a request with different parameters.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation returns the dataset that the first request created. If you reuse a clientToken with different parameters, the request fails with ConflictException. Use a new clientToken for a request with different parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.