Interface CreateFlowTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFlowTemplateRequest.Builder,
,CreateFlowTemplateRequest> IoTThingsGraphRequest.Builder
,SdkBuilder<CreateFlowTemplateRequest.Builder,
,CreateFlowTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFlowTemplateRequest
public static interface CreateFlowTemplateRequest.Builder
extends IoTThingsGraphRequest.Builder, SdkPojo, CopyableBuilder<CreateFlowTemplateRequest.Builder,CreateFlowTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncompatibleNamespaceVersion
(Long compatibleNamespaceVersion) The namespace version in which the workflow is to be created.definition
(Consumer<DefinitionDocument.Builder> definition) The workflowDefinitionDocument
.definition
(DefinitionDocument definition) The workflowDefinitionDocument
.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
-
definition
The workflow
DefinitionDocument
.- Parameters:
definition
- The workflowDefinitionDocument
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default CreateFlowTemplateRequest.Builder definition(Consumer<DefinitionDocument.Builder> definition) The workflow
This is a convenience method that creates an instance of theDefinitionDocument
.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 namespace version in which the workflow is to be created.
If no value is specified, the latest version is used by default.
- Parameters:
compatibleNamespaceVersion
- The namespace version in which the workflow is to be created.If no value is specified, the latest version is used by default.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFlowTemplateRequest.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
CreateFlowTemplateRequest.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.
-