Interface UpdateFlowTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFlowTemplateRequest.Builder,UpdateFlowTemplateRequest>,IoTThingsGraphRequest.Builder,SdkBuilder<UpdateFlowTemplateRequest.Builder,UpdateFlowTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateFlowTemplateRequest
public static interface UpdateFlowTemplateRequest.Builder extends IoTThingsGraphRequest.Builder, SdkPojo, CopyableBuilder<UpdateFlowTemplateRequest.Builder,UpdateFlowTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateFlowTemplateRequest.BuildercompatibleNamespaceVersion(Long compatibleNamespaceVersion)The version of the user's namespace.default UpdateFlowTemplateRequest.Builderdefinition(Consumer<DefinitionDocument.Builder> definition)TheDefinitionDocumentthat contains the updated workflow definition.UpdateFlowTemplateRequest.Builderdefinition(DefinitionDocument definition)TheDefinitionDocumentthat contains the updated workflow definition.UpdateFlowTemplateRequest.Builderid(String id)The ID of the workflow to be updated.UpdateFlowTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateFlowTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
id
UpdateFlowTemplateRequest.Builder id(String 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
UpdateFlowTemplateRequest.Builder definition(DefinitionDocument 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:
definition(DefinitionDocument)
-
compatibleNamespaceVersion
UpdateFlowTemplateRequest.Builder compatibleNamespaceVersion(Long 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateFlowTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-