Class SourcedConfiguration.Builder

java.lang.Object
software.amazon.awscdk.services.appconfig.alpha.SourcedConfiguration.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<SourcedConfiguration>
Enclosing class:
SourcedConfiguration

@Stability(Deprecated) @Deprecated public static final class SourcedConfiguration.Builder extends Object implements software.amazon.jsii.Builder<SourcedConfiguration>
Deprecated.
(deprecated) A fluent builder for SourcedConfiguration.
  • Method Details

    • create

      @Stability(Deprecated) @Deprecated public static SourcedConfiguration.Builder create(software.constructs.Construct scope, String id)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of SourcedConfiguration.Builder.
    • deploymentKey

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder deploymentKey(IKey deploymentKey)
      Deprecated.
      (deprecated) The deployment key of the configuration.

      Default: - None.

      Parameters:
      deploymentKey - The deployment key of the configuration. This parameter is required.
      Returns:
      this
    • deploymentStrategy

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder deploymentStrategy(IDeploymentStrategy deploymentStrategy)
      Deprecated.
      (deprecated) The deployment strategy for the configuration.

      Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES

      Parameters:
      deploymentStrategy - The deployment strategy for the configuration. This parameter is required.
      Returns:
      this
    • deployTo

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder deployTo(List<? extends IEnvironment> deployTo)
      Deprecated.
      (deprecated) The list of environments to deploy the configuration to.

      If this parameter is not specified, then there will be no deployment.

      Default: - None.

      Parameters:
      deployTo - The list of environments to deploy the configuration to. This parameter is required.
      Returns:
      this
    • description

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder description(String description)
      Deprecated.
      (deprecated) The description of the configuration.

      Default: - No description.

      Parameters:
      description - The description of the configuration. This parameter is required.
      Returns:
      this
    • name

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder name(String name)
      Deprecated.
      (deprecated) The name of the configuration.

      Default: - A name is generated.

      Parameters:
      name - The name of the configuration. This parameter is required.
      Returns:
      this
    • type

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder type(ConfigurationType type)
      Deprecated.
      (deprecated) The type of configuration.

      Default: ConfigurationType.FREEFORM

      Parameters:
      type - The type of configuration. This parameter is required.
      Returns:
      this
    • validators

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder validators(List<? extends IValidator> validators)
      Deprecated.
      (deprecated) The validators for the configuration.

      Default: - No validators.

      Parameters:
      validators - The validators for the configuration. This parameter is required.
      Returns:
      this
    • application

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder application(IApplication application)
      Deprecated.
      (deprecated) The application associated with the configuration.

      Parameters:
      application - The application associated with the configuration. This parameter is required.
      Returns:
      this
    • location

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder location(ConfigurationSource location)
      Deprecated.
      (deprecated) The location where the configuration is stored.

      Parameters:
      location - The location where the configuration is stored. This parameter is required.
      Returns:
      this
    • retrievalRole

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder retrievalRole(IRole retrievalRole)
      Deprecated.
      (deprecated) The IAM role to retrieve the configuration.

      Default: - A role is generated.

      Parameters:
      retrievalRole - The IAM role to retrieve the configuration. This parameter is required.
      Returns:
      this
    • versionNumber

      @Stability(Deprecated) @Deprecated public SourcedConfiguration.Builder versionNumber(String versionNumber)
      Deprecated.
      (deprecated) The version number of the sourced configuration to deploy.

      If this is not specified, then there will be no deployment.

      Default: - None.

      Parameters:
      versionNumber - The version number of the sourced configuration to deploy. This parameter is required.
      Returns:
      this
    • build

      @Stability(Deprecated) @Deprecated public SourcedConfiguration build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<SourcedConfiguration>
      Returns:
      a newly built instance of SourcedConfiguration.