Interface DeploymentConfig.Builder

  • Method Details

    • concurrentDeploymentPercentage

      DeploymentConfig.Builder concurrentDeploymentPercentage(Integer concurrentDeploymentPercentage)

      The percentage of robots receiving the deployment at the same time.

      Parameters:
      concurrentDeploymentPercentage - The percentage of robots receiving the deployment at the same time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureThresholdPercentage

      DeploymentConfig.Builder failureThresholdPercentage(Integer failureThresholdPercentage)

      The percentage of deployments that need to fail before stopping deployment.

      Parameters:
      failureThresholdPercentage - The percentage of deployments that need to fail before stopping deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • robotDeploymentTimeoutInSeconds

      DeploymentConfig.Builder robotDeploymentTimeoutInSeconds(Long robotDeploymentTimeoutInSeconds)

      The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.

      Parameters:
      robotDeploymentTimeoutInSeconds - The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • downloadConditionFile

      DeploymentConfig.Builder downloadConditionFile(S3Object downloadConditionFile)

      The download condition file.

      Parameters:
      downloadConditionFile - The download condition file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • downloadConditionFile

      default DeploymentConfig.Builder downloadConditionFile(Consumer<S3Object.Builder> downloadConditionFile)

      The download condition file.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to downloadConditionFile(S3Object).

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