Interface SendApiAssetRequest.Builder

  • Method Details

    • body

      The request body.

      Parameters:
      body - The request body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryStringParameters

      SendApiAssetRequest.Builder queryStringParameters(Map<String,String> queryStringParameters)

      Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).

      Parameters:
      queryStringParameters - Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetId

      Asset ID value for the API request.

      Parameters:
      assetId - Asset ID value for the API request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSetId

      SendApiAssetRequest.Builder dataSetId(String dataSetId)

      Data set ID value for the API request.

      Parameters:
      dataSetId - Data set ID value for the API request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestHeaders

      SendApiAssetRequest.Builder requestHeaders(Map<String,String> requestHeaders)

      Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.

      Parameters:
      requestHeaders - Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • method

      HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.

      Parameters:
      method - HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • path

      URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}.

      Parameters:
      path - URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      SendApiAssetRequest.Builder revisionId(String revisionId)

      Revision ID value for the API request.

      Parameters:
      revisionId - Revision ID value for the API request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      SendApiAssetRequest.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.