Interface DescribeManagedJobTemplateResponse.Builder

    • Method Detail

      • templateName

        DescribeManagedJobTemplateResponse.Builder templateName​(String templateName)

        The unique name of a managed template, such as AWS-Reboot.

        Parameters:
        templateName - The unique name of a managed template, such as AWS-Reboot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateArn

        DescribeManagedJobTemplateResponse.Builder templateArn​(String templateArn)

        The unique Amazon Resource Name (ARN) of the managed template.

        Parameters:
        templateArn - The unique Amazon Resource Name (ARN) of the managed template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        DescribeManagedJobTemplateResponse.Builder description​(String description)

        The unique description of a managed template.

        Parameters:
        description - The unique description of a managed template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateVersion

        DescribeManagedJobTemplateResponse.Builder templateVersion​(String templateVersion)

        The version for a managed template.

        Parameters:
        templateVersion - The version for a managed template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • environments

        DescribeManagedJobTemplateResponse.Builder environments​(Collection<String> environments)

        A list of environments that are supported with the managed job template.

        Parameters:
        environments - A list of environments that are supported with the managed job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • environments

        DescribeManagedJobTemplateResponse.Builder environments​(String... environments)

        A list of environments that are supported with the managed job template.

        Parameters:
        environments - A list of environments that are supported with the managed job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentParameters

        DescribeManagedJobTemplateResponse.Builder documentParameters​(Collection<DocumentParameter> documentParameters)

        A map of key-value pairs that you can use as guidance to specify the inputs for creating a job from a managed template.

        documentParameters can only be used when creating jobs from Amazon Web Services managed templates. This parameter can't be used with custom job templates or to create jobs from them.

        Parameters:
        documentParameters - A map of key-value pairs that you can use as guidance to specify the inputs for creating a job from a managed template.

        documentParameters can only be used when creating jobs from Amazon Web Services managed templates. This parameter can't be used with custom job templates or to create jobs from them.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentParameters

        DescribeManagedJobTemplateResponse.Builder documentParameters​(DocumentParameter... documentParameters)

        A map of key-value pairs that you can use as guidance to specify the inputs for creating a job from a managed template.

        documentParameters can only be used when creating jobs from Amazon Web Services managed templates. This parameter can't be used with custom job templates or to create jobs from them.

        Parameters:
        documentParameters - A map of key-value pairs that you can use as guidance to specify the inputs for creating a job from a managed template.

        documentParameters can only be used when creating jobs from Amazon Web Services managed templates. This parameter can't be used with custom job templates or to create jobs from them.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentParameters

        DescribeManagedJobTemplateResponse.Builder documentParameters​(Consumer<DocumentParameter.Builder>... documentParameters)

        A map of key-value pairs that you can use as guidance to specify the inputs for creating a job from a managed template.

        documentParameters can only be used when creating jobs from Amazon Web Services managed templates. This parameter can't be used with custom job templates or to create jobs from them.

        This is a convenience method that creates an instance of the DocumentParameter.Builder avoiding the need to create one manually via DocumentParameter.builder().

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

        Parameters:
        documentParameters - a consumer that will call methods on DocumentParameter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #documentParameters(java.util.Collection)
      • document

        DescribeManagedJobTemplateResponse.Builder document​(String document)

        The document schema for a managed job template.

        Parameters:
        document - The document schema for a managed job template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.