Interface GetTemplateResponse.Builder

    • 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 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.
        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.
      • 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 the Tool.Builder avoiding the need to create one manually via Tool.builder() .

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tools(List).

        Parameters:
        tools - a consumer that will call methods on Tool.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.
      • 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.