Interface SendApiAssetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendApiAssetRequest.Builder,,SendApiAssetRequest> DataExchangeRequest.Builder,SdkBuilder<SendApiAssetRequest.Builder,,SendApiAssetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendApiAssetRequest
-
Method Summary
Modifier and TypeMethodDescriptionAsset ID value for the API request.The request body.Data set ID value for the API request.HTTP method value for the API request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.URI path value for the API request.queryStringParameters(Map<String, String> queryStringParameters) Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).requestHeaders(Map<String, String> requestHeaders) Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request.revisionId(String revisionId) Revision ID value for the API request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dataexchange.model.DataExchangeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendApiAssetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-