Interface ServiceTemplateVersion.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the version of a service template.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the version of a service template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compatibleEnvironmentTemplates

      ServiceTemplateVersion.Builder compatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates)

      An array of compatible environment template names for the major version of a service template.

      Parameters:
      compatibleEnvironmentTemplates - An array of compatible environment template names for the major version of a service template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compatibleEnvironmentTemplates

      ServiceTemplateVersion.Builder compatibleEnvironmentTemplates(CompatibleEnvironmentTemplate... compatibleEnvironmentTemplates)

      An array of compatible environment template names for the major version of a service template.

      Parameters:
      compatibleEnvironmentTemplates - An array of compatible environment template names for the major version of a service template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compatibleEnvironmentTemplates

      ServiceTemplateVersion.Builder compatibleEnvironmentTemplates(Consumer<CompatibleEnvironmentTemplate.Builder>... compatibleEnvironmentTemplates)

      An array of compatible environment template names for the major version of a service template.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to compatibleEnvironmentTemplates(List<CompatibleEnvironmentTemplate>).

      Parameters:
      compatibleEnvironmentTemplates - a consumer that will call methods on CompatibleEnvironmentTemplate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The time when the version of a service template was created.

      Parameters:
      createdAt - The time when the version of a service template was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ServiceTemplateVersion.Builder description(String description)

      A description of the version of a service template.

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

      ServiceTemplateVersion.Builder lastModifiedAt(Instant lastModifiedAt)

      The time when the version of a service template was last modified.

      Parameters:
      lastModifiedAt - The time when the version of a service template was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • majorVersion

      ServiceTemplateVersion.Builder majorVersion(String majorVersion)

      The latest major version that's associated with the version of a service template.

      Parameters:
      majorVersion - The latest major version that's associated with the version of a service template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minorVersion

      ServiceTemplateVersion.Builder minorVersion(String minorVersion)

      The minor version of a service template.

      Parameters:
      minorVersion - The minor version of a service template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedMinorVersion

      ServiceTemplateVersion.Builder recommendedMinorVersion(String recommendedMinorVersion)

      The recommended minor version of the service template.

      Parameters:
      recommendedMinorVersion - The recommended minor version of the service template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schema

      The schema of the version of a service template.

      Parameters:
      schema - The schema of the version of a service template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The service template version status.

      Parameters:
      status - The service template version status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The service template version status.

      Parameters:
      status - The service template version status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      ServiceTemplateVersion.Builder statusMessage(String statusMessage)

      A service template version status message.

      Parameters:
      statusMessage - A service template version status message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedComponentSourcesWithStrings

      ServiceTemplateVersion.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

      ServiceTemplateVersion.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

      ServiceTemplateVersion.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

      ServiceTemplateVersion.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.
    • templateName

      ServiceTemplateVersion.Builder templateName(String templateName)

      The name of the version of a service template.

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