Class StartFlowRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appflow.model.AppflowRequest
-
- software.amazon.awssdk.services.appflow.model.StartFlowRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartFlowRequest.Builder,StartFlowRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartFlowRequest extends AppflowRequest implements ToCopyableBuilder<StartFlowRequest.Builder,StartFlowRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartFlowRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartFlowRequest.Builderbuilder()StringclientToken()TheclientTokenparameter is an idempotency token.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringflowName()The specified name of the flow.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StartFlowRequest.Builder>serializableBuilderClass()StartFlowRequest.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
-
flowName
public final String flowName()
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
- Returns:
- The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
-
clientToken
public final String clientToken()
The
clientTokenparameter is an idempotency token. It ensures that yourStartFlowrequest completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the sameclientTokenparameter value.If you omit a
clientTokenvalue, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.If you specify input parameters that differ from your first request, an error occurs for flows that run on a schedule or based on an event. However, the error doesn't occur for flows that run on demand. You set the conditions that initiate your flow for the
triggerConfigparameter.If you use a different value for
clientToken, Amazon AppFlow considers it a new call toStartFlow. The token is active for 8 hours.- Returns:
- The
clientTokenparameter is an idempotency token. It ensures that yourStartFlowrequest completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the sameclientTokenparameter value.If you omit a
clientTokenvalue, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.If you specify input parameters that differ from your first request, an error occurs for flows that run on a schedule or based on an event. However, the error doesn't occur for flows that run on demand. You set the conditions that initiate your flow for the
triggerConfigparameter.If you use a different value for
clientToken, Amazon AppFlow considers it a new call toStartFlow. The token is active for 8 hours.
-
toBuilder
public StartFlowRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartFlowRequest.Builder,StartFlowRequest>- Specified by:
toBuilderin classAppflowRequest
-
builder
public static StartFlowRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartFlowRequest.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
-
-