Interface UpdateFlowTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFlowTemplateRequest.Builder,,UpdateFlowTemplateRequest> IoTThingsGraphRequest.Builder,SdkBuilder<UpdateFlowTemplateRequest.Builder,,UpdateFlowTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFlowTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptioncompatibleNamespaceVersion(Long compatibleNamespaceVersion) The version of the user's namespace.definition(Consumer<DefinitionDocument.Builder> definition) TheDefinitionDocumentthat contains the updated workflow definition.definition(DefinitionDocument definition) TheDefinitionDocumentthat contains the updated workflow definition.The ID of the workflow to be updated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.iotthingsgraph.model.IoTThingsGraphRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME- Parameters:
id- The ID of the workflow to be updated.The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The
DefinitionDocumentthat contains the updated workflow definition.- Parameters:
definition- TheDefinitionDocumentthat contains the updated workflow definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default UpdateFlowTemplateRequest.Builder definition(Consumer<DefinitionDocument.Builder> definition) The
This is a convenience method that creates an instance of theDefinitionDocumentthat contains the updated workflow definition.DefinitionDocument.Builderavoiding the need to create one manually viaDefinitionDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(DefinitionDocument).- Parameters:
definition- a consumer that will call methods onDefinitionDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compatibleNamespaceVersion
The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the
GetFlowTemplateRevisionsif you want to find earlier revisions of the flow to update.- Parameters:
compatibleNamespaceVersion- The version of the user's namespace.If no value is specified, the latest version is used by default. Use the
GetFlowTemplateRevisionsif you want to find earlier revisions of the flow to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFlowTemplateRequest.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
UpdateFlowTemplateRequest.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.
-