Class InvokeRestApiRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mwaa.model.MwaaRequest
-
- software.amazon.awssdk.services.mwaa.model.InvokeRestApiRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<InvokeRestApiRequest.Builder,InvokeRestApiRequest>
@Generated("software.amazon.awssdk:codegen") public final class InvokeRestApiRequest extends MwaaRequest implements ToCopyableBuilder<InvokeRestApiRequest.Builder,InvokeRestApiRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInvokeRestApiRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Documentbody()The request body for the Apache Airflow REST API call, provided as a JSON object.static InvokeRestApiRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RestApiMethodmethod()The HTTP method used for making Airflow REST API calls.StringmethodAsString()The HTTP method used for making Airflow REST API calls.Stringname()The name of the Amazon MWAA environment.Stringpath()The Apache Airflow REST API endpoint path to be called.DocumentqueryParameters()Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InvokeRestApiRequest.Builder>serializableBuilderClass()InvokeRestApiRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the Amazon MWAA environment. For example,
MyMWAAEnvironment.- Returns:
- The name of the Amazon MWAA environment. For example,
MyMWAAEnvironment.
-
path
public final String path()
The Apache Airflow REST API endpoint path to be called. For example,
/dags/123456/clearTaskInstances. For more information, see Apache Airflow API- Returns:
- The Apache Airflow REST API endpoint path to be called. For example,
/dags/123456/clearTaskInstances. For more information, see Apache Airflow API
-
method
public final RestApiMethod method()
The HTTP method used for making Airflow REST API calls. For example,
POST.If the service returns an enum value that is not available in the current SDK version,
methodwill returnRestApiMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommethodAsString().- Returns:
- The HTTP method used for making Airflow REST API calls. For example,
POST. - See Also:
RestApiMethod
-
methodAsString
public final String methodAsString()
The HTTP method used for making Airflow REST API calls. For example,
POST.If the service returns an enum value that is not available in the current SDK version,
methodwill returnRestApiMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommethodAsString().- Returns:
- The HTTP method used for making Airflow REST API calls. For example,
POST. - See Also:
RestApiMethod
-
queryParameters
public final Document queryParameters()
Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.
- Returns:
- Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.
-
body
public final Document body()
The request body for the Apache Airflow REST API call, provided as a JSON object.
- Returns:
- The request body for the Apache Airflow REST API call, provided as a JSON object.
-
toBuilder
public InvokeRestApiRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InvokeRestApiRequest.Builder,InvokeRestApiRequest>- Specified by:
toBuilderin classMwaaRequest
-
builder
public static InvokeRestApiRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvokeRestApiRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-