Interface UpdateServiceTemplateVersionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateServiceTemplateVersionRequest.Builder,UpdateServiceTemplateVersionRequest>, ProtonRequest.Builder, SdkBuilder<UpdateServiceTemplateVersionRequest.Builder,UpdateServiceTemplateVersionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateServiceTemplateVersionRequest

public static interface UpdateServiceTemplateVersionRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<UpdateServiceTemplateVersionRequest.Builder,UpdateServiceTemplateVersionRequest>
  • Method Details

    • compatibleEnvironmentTemplates

      UpdateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)

      An array of environment template objects that are compatible with this 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 this 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

      UpdateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)

      An array of environment template objects that are compatible with this 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 this 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

      UpdateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(Consumer<CompatibleEnvironmentTemplateInput.Builder>... compatibleEnvironmentTemplates)

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

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

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

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

      A description of a service template version to update.

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

      To update a major version of a service template, include major Version.

      Parameters:
      majorVersion - To update a major version of a service template, include major Version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minorVersion

      To update a minor version of a service template, include minorVersion.

      Parameters:
      minorVersion - To update a minor version of a service template, include minorVersion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the service template minor version to update.

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

      The status of the service template minor version to update.

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

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

      A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

      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.

      A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

      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

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

      A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

      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.

      A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

      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

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

      A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

      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.

      A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

      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

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

      A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

      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.

      A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

      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

      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.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.