Interface CreateTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTemplateRequest.Builder,
,CreateTemplateRequest> MigrationHubOrchestratorRequest.Builder
,SdkBuilder<CreateTemplateRequest.Builder,
,CreateTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTemplateRequest
public static interface CreateTemplateRequest.Builder
extends MigrationHubOrchestratorRequest.Builder, SdkPojo, CopyableBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to add to the migration workflow template.templateDescription
(String templateDescription) A description of the migration workflow template.templateName
(String templateName) The name of the migration workflow template.default CreateTemplateRequest.Builder
templateSource
(Consumer<TemplateSource.Builder> templateSource) The source of the migration workflow template.templateSource
(TemplateSource templateSource) The source of the migration workflow template.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.migrationhuborchestrator.model.MigrationHubOrchestratorRequest.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
-
templateName
The name of the migration workflow template.
- Parameters:
templateName
- The name of the migration workflow template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateDescription
A description of the migration workflow template.
- Parameters:
templateDescription
- A description of the migration workflow template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateSource
The source of the migration workflow template.
- Parameters:
templateSource
- The source of the migration workflow template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateSource
default CreateTemplateRequest.Builder templateSource(Consumer<TemplateSource.Builder> templateSource) The source of the migration workflow template.
This is a convenience method that creates an instance of theTemplateSource.Builder
avoiding the need to create one manually viaTemplateSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplateSource(TemplateSource)
.- Parameters:
templateSource
- a consumer that will call methods onTemplateSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Idempotency in the Smithy documentation.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Idempotency in the Smithy documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the migration workflow template.
- Parameters:
tags
- The tags to add to the migration workflow template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTemplateRequest.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
CreateTemplateRequest.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.
-