Interface GetTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTemplateResponse.Builder,GetTemplateResponse>,MigrationHubOrchestratorResponse.Builder,SdkBuilder<GetTemplateResponse.Builder,GetTemplateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTemplateResponse
public static interface GetTemplateResponse.Builder extends MigrationHubOrchestratorResponse.Builder, SdkPojo, CopyableBuilder<GetTemplateResponse.Builder,GetTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetTemplateResponse.BuildercreationTime(Instant creationTime)The time at which the template was last created.GetTemplateResponse.Builderdescription(String description)The time at which the template was last created.GetTemplateResponse.Builderid(String id)The ID of the template.GetTemplateResponse.Builderinputs(Collection<TemplateInput> inputs)The inputs provided for the creation of the migration workflow.GetTemplateResponse.Builderinputs(Consumer<TemplateInput.Builder>... inputs)The inputs provided for the creation of the migration workflow.GetTemplateResponse.Builderinputs(TemplateInput... inputs)The inputs provided for the creation of the migration workflow.GetTemplateResponse.Buildername(String name)The name of the template.GetTemplateResponse.Builderowner(String owner)The owner of the migration workflow template.GetTemplateResponse.Builderstatus(String status)The status of the template.GetTemplateResponse.Builderstatus(TemplateStatus status)The status of the template.GetTemplateResponse.BuilderstatusMessage(String statusMessage)The status message of retrieving migration workflow templates.GetTemplateResponse.Buildertags(Map<String,String> tags)The tags added to the migration workflow template.GetTemplateResponse.BuildertemplateArn(String templateArn)>The Amazon Resource Name (ARN) of the migration workflow template.GetTemplateResponse.BuildertemplateClass(String templateClass)The class of the migration workflow template.GetTemplateResponse.Buildertools(Collection<Tool> tools)List of AWS services utilized in a migration workflow.GetTemplateResponse.Buildertools(Consumer<Tool.Builder>... tools)List of AWS services utilized in a migration workflow.GetTemplateResponse.Buildertools(Tool... tools)List of AWS services utilized in a migration workflow.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.migrationhuborchestrator.model.MigrationHubOrchestratorResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
id
GetTemplateResponse.Builder id(String id)
The ID of the template.
- Parameters:
id- The ID of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateArn
GetTemplateResponse.Builder templateArn(String templateArn)
>The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub Orchestrator template ARN is
arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.- Parameters:
templateArn- >The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub Orchestrator template ARN isarn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetTemplateResponse.Builder name(String name)
The name of the template.
- Parameters:
name- The name of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetTemplateResponse.Builder description(String description)
The time at which the template was last created.
- Parameters:
description- The time at which the template was last created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
GetTemplateResponse.Builder inputs(Collection<TemplateInput> inputs)
The inputs provided for the creation of the migration workflow.
- Parameters:
inputs- The inputs provided for the creation of the migration workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
GetTemplateResponse.Builder inputs(TemplateInput... inputs)
The inputs provided for the creation of the migration workflow.
- Parameters:
inputs- The inputs provided for the creation of the migration workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
GetTemplateResponse.Builder inputs(Consumer<TemplateInput.Builder>... inputs)
The inputs provided for the creation of the migration workflow.
This is a convenience method that creates an instance of theTemplateInput.Builderavoiding the need to create one manually viaTemplateInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputs(List.) - Parameters:
inputs- a consumer that will call methods onTemplateInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#inputs(java.util.Collection)
-
tools
GetTemplateResponse.Builder tools(Collection<Tool> tools)
List of AWS services utilized in a migration workflow.
- Parameters:
tools- List of AWS services utilized in a migration workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
GetTemplateResponse.Builder tools(Tool... tools)
List of AWS services utilized in a migration workflow.
- Parameters:
tools- List of AWS services utilized in a migration workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
GetTemplateResponse.Builder tools(Consumer<Tool.Builder>... tools)
List of AWS services utilized in a migration workflow.
This is a convenience method that creates an instance of theTool.Builderavoiding the need to create one manually viaTool.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tools(List.) - Parameters:
tools- a consumer that will call methods onTool.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tools(java.util.Collection)
-
creationTime
GetTemplateResponse.Builder creationTime(Instant creationTime)
The time at which the template was last created.
- Parameters:
creationTime- The time at which the template was last created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
GetTemplateResponse.Builder owner(String owner)
The owner of the migration workflow template.
- Parameters:
owner- The owner of the migration workflow template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetTemplateResponse.Builder status(String status)
The status of the template.
- Parameters:
status- The status of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TemplateStatus,TemplateStatus
-
status
GetTemplateResponse.Builder status(TemplateStatus status)
The status of the template.
- Parameters:
status- The status of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TemplateStatus,TemplateStatus
-
statusMessage
GetTemplateResponse.Builder statusMessage(String statusMessage)
The status message of retrieving migration workflow templates.
- Parameters:
statusMessage- The status message of retrieving migration workflow templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateClass
GetTemplateResponse.Builder templateClass(String templateClass)
The class of the migration workflow template. The available template classes are:
-
A2C
-
MGN
-
SAP_MULTI
-
SQL_EC2
-
SQL_RDS
-
VMIE
- Parameters:
templateClass- The class of the migration workflow template. The available template classes are:-
A2C
-
MGN
-
SAP_MULTI
-
SQL_EC2
-
SQL_RDS
-
VMIE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
GetTemplateResponse.Builder tags(Map<String,String> tags)
The tags added to the migration workflow template.
- Parameters:
tags- The tags added to the migration workflow template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-