Interface StartDeploymentResponse.Builder

    • Method Detail

      • applicationId

        StartDeploymentResponse.Builder applicationId​(String applicationId)

        The ID of the application that was deployed.

        Parameters:
        applicationId - The ID of the application that was deployed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • environmentId

        StartDeploymentResponse.Builder environmentId​(String environmentId)

        The ID of the environment that was deployed.

        Parameters:
        environmentId - The ID of the environment that was deployed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentStrategyId

        StartDeploymentResponse.Builder deploymentStrategyId​(String deploymentStrategyId)

        The ID of the deployment strategy that was deployed.

        Parameters:
        deploymentStrategyId - The ID of the deployment strategy that was deployed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationProfileId

        StartDeploymentResponse.Builder configurationProfileId​(String configurationProfileId)

        The ID of the configuration profile that was deployed.

        Parameters:
        configurationProfileId - The ID of the configuration profile that was deployed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentNumber

        StartDeploymentResponse.Builder deploymentNumber​(Integer deploymentNumber)

        The sequence number of the deployment.

        Parameters:
        deploymentNumber - The sequence number of the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationName

        StartDeploymentResponse.Builder configurationName​(String configurationName)

        The name of the configuration.

        Parameters:
        configurationName - The name of the configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationLocationUri

        StartDeploymentResponse.Builder configurationLocationUri​(String configurationLocationUri)

        Information about the source location of the configuration.

        Parameters:
        configurationLocationUri - Information about the source location of the configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationVersion

        StartDeploymentResponse.Builder configurationVersion​(String configurationVersion)

        The configuration version that was deployed.

        Parameters:
        configurationVersion - The configuration version that was deployed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        StartDeploymentResponse.Builder description​(String description)

        The description of the deployment.

        Parameters:
        description - The description of the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentDurationInMinutes

        StartDeploymentResponse.Builder deploymentDurationInMinutes​(Integer deploymentDurationInMinutes)

        Total amount of time the deployment lasted.

        Parameters:
        deploymentDurationInMinutes - Total amount of time the deployment lasted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • growthType

        StartDeploymentResponse.Builder growthType​(String growthType)

        The algorithm used to define how percentage grew over time.

        Parameters:
        growthType - The algorithm used to define how percentage grew over time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GrowthType, GrowthType
      • growthType

        StartDeploymentResponse.Builder growthType​(GrowthType growthType)

        The algorithm used to define how percentage grew over time.

        Parameters:
        growthType - The algorithm used to define how percentage grew over time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GrowthType, GrowthType
      • growthFactor

        StartDeploymentResponse.Builder growthFactor​(Float growthFactor)

        The percentage of targets to receive a deployed configuration during each interval.

        Parameters:
        growthFactor - The percentage of targets to receive a deployed configuration during each interval.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • finalBakeTimeInMinutes

        StartDeploymentResponse.Builder finalBakeTimeInMinutes​(Integer finalBakeTimeInMinutes)

        The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.

        Parameters:
        finalBakeTimeInMinutes - The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventLog

        StartDeploymentResponse.Builder eventLog​(Collection<DeploymentEvent> eventLog)

        A list containing all events related to a deployment. The most recent events are displayed first.

        Parameters:
        eventLog - A list containing all events related to a deployment. The most recent events are displayed first.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventLog

        StartDeploymentResponse.Builder eventLog​(DeploymentEvent... eventLog)

        A list containing all events related to a deployment. The most recent events are displayed first.

        Parameters:
        eventLog - A list containing all events related to a deployment. The most recent events are displayed first.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • percentageComplete

        StartDeploymentResponse.Builder percentageComplete​(Float percentageComplete)

        The percentage of targets for which the deployment is available.

        Parameters:
        percentageComplete - The percentage of targets for which the deployment is available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedAt

        StartDeploymentResponse.Builder startedAt​(Instant startedAt)

        The time the deployment started.

        Parameters:
        startedAt - The time the deployment started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • completedAt

        StartDeploymentResponse.Builder completedAt​(Instant completedAt)

        The time the deployment completed.

        Parameters:
        completedAt - The time the deployment completed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • appliedExtensions

        StartDeploymentResponse.Builder appliedExtensions​(Collection<AppliedExtension> appliedExtensions)

        A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when StartDeployment was called.

        Parameters:
        appliedExtensions - A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when StartDeployment was called.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • appliedExtensions

        StartDeploymentResponse.Builder appliedExtensions​(AppliedExtension... appliedExtensions)

        A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when StartDeployment was called.

        Parameters:
        appliedExtensions - A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when StartDeployment was called.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • appliedExtensions

        StartDeploymentResponse.Builder appliedExtensions​(Consumer<AppliedExtension.Builder>... appliedExtensions)

        A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when StartDeployment was called.

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

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

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

        StartDeploymentResponse.Builder kmsKeyArn​(String kmsKeyArn)

        The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store.

        Parameters:
        kmsKeyArn - The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyIdentifier

        StartDeploymentResponse.Builder kmsKeyIdentifier​(String kmsKeyIdentifier)

        The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.

        Parameters:
        kmsKeyIdentifier - The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionLabel

        StartDeploymentResponse.Builder versionLabel​(String versionLabel)

        A user-defined label for an AppConfig hosted configuration version.

        Parameters:
        versionLabel - A user-defined label for an AppConfig hosted configuration version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.