Interface RejectPredictionsRequest.Builder

    • Method Detail

      • clientToken

        RejectPredictionsRequest.Builder clientToken​(String clientToken)

        A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

        Parameters:
        clientToken - A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainIdentifier

        RejectPredictionsRequest.Builder domainIdentifier​(String domainIdentifier)

        The identifier of the Amazon DataZone domain.

        Parameters:
        domainIdentifier - The identifier of the Amazon DataZone domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • identifier

        RejectPredictionsRequest.Builder identifier​(String identifier)

        The identifier of the prediction.

        Parameters:
        identifier - The identifier of the prediction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rejectChoices

        RejectPredictionsRequest.Builder rejectChoices​(Collection<RejectChoice> rejectChoices)

        Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.

        Parameters:
        rejectChoices - Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rejectChoices

        RejectPredictionsRequest.Builder rejectChoices​(RejectChoice... rejectChoices)

        Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.

        Parameters:
        rejectChoices - Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rejectChoices

        RejectPredictionsRequest.Builder rejectChoices​(Consumer<RejectChoice.Builder>... rejectChoices)

        Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #rejectChoices(List).

        Parameters:
        rejectChoices - a consumer that will call methods on RejectChoice.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #rejectChoices(java.util.Collection)
      • rejectRule

        RejectPredictionsRequest.Builder rejectRule​(RejectRule rejectRule)

        Specifies the rule (or the conditions) under which a prediction can be rejected.

        Parameters:
        rejectRule - Specifies the rule (or the conditions) under which a prediction can be rejected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revision

        RejectPredictionsRequest.Builder revision​(String revision)

        The revision that is to be made to the asset.

        Parameters:
        revision - The revision that is to be made to the asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.