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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTemplateRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTemplateRequest.Buildertags(Map<String,String> tags)The tags to add to the migration workflow template.CreateTemplateRequest.BuildertemplateDescription(String templateDescription)A description of the migration workflow template.CreateTemplateRequest.BuildertemplateName(String templateName)The name of the migration workflow template.default CreateTemplateRequest.BuildertemplateSource(Consumer<TemplateSource.Builder> templateSource)The source of the migration workflow template.CreateTemplateRequest.BuildertemplateSource(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 Detail
-
templateName
CreateTemplateRequest.Builder templateName(String 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
CreateTemplateRequest.Builder templateDescription(String 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
CreateTemplateRequest.Builder templateSource(TemplateSource 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.Builderavoiding the need to create one manually viaTemplateSource.builder().When the
Consumercompletes,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:
templateSource(TemplateSource)
-
clientToken
CreateTemplateRequest.Builder clientToken(String 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
CreateTemplateRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-