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) TheDefinitionDocument
that contains the updated workflow definition.definition
(DefinitionDocument definition) TheDefinitionDocument
that 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
DefinitionDocument
that contains the updated workflow definition.- Parameters:
definition
- TheDefinitionDocument
that 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 theDefinitionDocument
that contains the updated workflow definition.DefinitionDocument.Builder
avoiding the need to create one manually viaDefinitionDocument.builder()
.When the
Consumer
completes,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
GetFlowTemplateRevisions
if 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
GetFlowTemplateRevisions
if 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-