Interface InvokeRestApiRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<InvokeRestApiRequest.Builder,,InvokeRestApiRequest> MwaaRequest.Builder,SdkBuilder<InvokeRestApiRequest.Builder,,InvokeRestApiRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
InvokeRestApiRequest
@Mutable
@NotThreadSafe
public static interface InvokeRestApiRequest.Builder
extends MwaaRequest.Builder, SdkPojo, CopyableBuilder<InvokeRestApiRequest.Builder,InvokeRestApiRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe request body for the Apache Airflow REST API call, provided as a JSON object.The HTTP method used for making Airflow REST API calls.method(RestApiMethod method) The HTTP method used for making Airflow REST API calls.The name of the Amazon MWAA environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Apache Airflow REST API endpoint path to be called.queryParameters(Document queryParameters) Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.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.mwaa.model.MwaaRequest.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
-
name
The name of the Amazon MWAA environment. For example,
MyMWAAEnvironment.- Parameters:
name- The name of the Amazon MWAA environment. For example,MyMWAAEnvironment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The Apache Airflow REST API endpoint path to be called. For example,
/dags/123456/clearTaskInstances. For more information, see Apache Airflow API- Parameters:
path- The Apache Airflow REST API endpoint path to be called. For example,/dags/123456/clearTaskInstances. For more information, see Apache Airflow API- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
method
The HTTP method used for making Airflow REST API calls. For example,
POST.- Parameters:
method- The HTTP method used for making Airflow REST API calls. For example,POST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
method
The HTTP method used for making Airflow REST API calls. For example,
POST.- Parameters:
method- The HTTP method used for making Airflow REST API calls. For example,POST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryParameters
Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.
- Parameters:
queryParameters- Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
The request body for the Apache Airflow REST API call, provided as a JSON object.
- Parameters:
body- The request body for the Apache Airflow REST API call, provided as a JSON object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
InvokeRestApiRequest.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
InvokeRestApiRequest.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.
-