Interface CreateServiceTemplateVersionRequest.Builder

    • Method Detail

      • clientToken

        CreateServiceTemplateVersionRequest.Builder clientToken​(String clientToken)

        When included, if two identical requests are made with the same client token, Proton returns the service template version that the first request created.

        Parameters:
        clientToken - When included, if two identical requests are made with the same client token, Proton returns the service template version that the first request created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • compatibleEnvironmentTemplates

        CreateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates​(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)

        An array of environment template objects that are compatible with the new service template version. A service instance based on this service template version can run in environments based on compatible templates.

        Parameters:
        compatibleEnvironmentTemplates - An array of environment template objects that are compatible with the new service template version. A service instance based on this service template version can run in environments based on compatible templates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • compatibleEnvironmentTemplates

        CreateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates​(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)

        An array of environment template objects that are compatible with the new service template version. A service instance based on this service template version can run in environments based on compatible templates.

        Parameters:
        compatibleEnvironmentTemplates - An array of environment template objects that are compatible with the new service template version. A service instance based on this service template version can run in environments based on compatible templates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateServiceTemplateVersionRequest.Builder description​(String description)

        A description of the new version of a service template.

        Parameters:
        description - A description of the new version of a service template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • majorVersion

        CreateServiceTemplateVersionRequest.Builder majorVersion​(String majorVersion)

        To create a new minor version of the service template, include a major Version.

        To create a new major and minor version of the service template, exclude major Version.

        Parameters:
        majorVersion - To create a new minor version of the service template, include a major Version.

        To create a new major and minor version of the service template, exclude major Version.

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

        CreateServiceTemplateVersionRequest.Builder source​(TemplateVersionSourceInput source)

        An object that includes the template bundle S3 bucket path and name for the new version of a service template.

        Parameters:
        source - An object that includes the template bundle S3 bucket path and name for the new version of a service template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedComponentSourcesWithStrings

        CreateServiceTemplateVersionRequest.Builder supportedComponentSourcesWithStrings​(Collection<String> supportedComponentSources)

        An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

        For more information about components, see Proton components in the Proton User Guide.

        Parameters:
        supportedComponentSources - An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

        For more information about components, see Proton components in the Proton User Guide.

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

        CreateServiceTemplateVersionRequest.Builder supportedComponentSourcesWithStrings​(String... supportedComponentSources)

        An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

        For more information about components, see Proton components in the Proton User Guide.

        Parameters:
        supportedComponentSources - An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

        For more information about components, see Proton components in the Proton User Guide.

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

        CreateServiceTemplateVersionRequest.Builder supportedComponentSources​(Collection<ServiceTemplateSupportedComponentSourceType> supportedComponentSources)

        An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

        For more information about components, see Proton components in the Proton User Guide.

        Parameters:
        supportedComponentSources - An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

        For more information about components, see Proton components in the Proton User Guide.

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

        CreateServiceTemplateVersionRequest.Builder supportedComponentSources​(ServiceTemplateSupportedComponentSourceType... supportedComponentSources)

        An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

        For more information about components, see Proton components in the Proton User Guide.

        Parameters:
        supportedComponentSources - An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

        For more information about components, see Proton components in the Proton User Guide.

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

        CreateServiceTemplateVersionRequest.Builder tags​(Collection<Tag> tags)

        An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

        Parameters:
        tags - An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

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

        CreateServiceTemplateVersionRequest.Builder tags​(Tag... tags)

        An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

        Parameters:
        tags - An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.

        For more information, see Proton resources and tagging in the Proton User Guide.

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

        CreateServiceTemplateVersionRequest.Builder templateName​(String templateName)

        The name of the service template.

        Parameters:
        templateName - The name of the service template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.