Interface GetDeploymentResponse.Builder

  • Method Details

    • applicationId

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

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

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

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

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

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

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

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

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

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

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

      GetDeploymentResponse.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:
    • growthFactor

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

      GetDeploymentResponse.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.
    • state

      The state of the deployment.

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

      The state of the deployment.

      Parameters:
      state - The state of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

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

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

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

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

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

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

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

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

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

      GetDeploymentResponse.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<AppliedExtension>).

      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:
    • kmsKeyArn

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

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

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