Interface ComputeQuotaSummary.Builder

  • Method Details

    • computeQuotaArn

      ComputeQuotaSummary.Builder computeQuotaArn(String computeQuotaArn)

      ARN of the compute allocation definition.

      Parameters:
      computeQuotaArn - ARN of the compute allocation definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeQuotaId

      ComputeQuotaSummary.Builder computeQuotaId(String computeQuotaId)

      ID of the compute allocation definition.

      Parameters:
      computeQuotaId - ID of the compute allocation definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Name of the compute allocation definition.

      Parameters:
      name - Name of the compute allocation definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeQuotaVersion

      ComputeQuotaSummary.Builder computeQuotaVersion(Integer computeQuotaVersion)

      Version of the compute allocation definition.

      Parameters:
      computeQuotaVersion - Version of the compute allocation definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Status of the compute allocation definition.

      Parameters:
      status - Status of the compute allocation definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status of the compute allocation definition.

      Parameters:
      status - Status of the compute allocation definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clusterArn

      ComputeQuotaSummary.Builder clusterArn(String clusterArn)

      ARN of the cluster.

      Parameters:
      clusterArn - ARN of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeQuotaConfig

      ComputeQuotaSummary.Builder computeQuotaConfig(ComputeQuotaConfig computeQuotaConfig)

      Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.

      Parameters:
      computeQuotaConfig - Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeQuotaConfig

      default ComputeQuotaSummary.Builder computeQuotaConfig(Consumer<ComputeQuotaConfig.Builder> computeQuotaConfig)

      Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.

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

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

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

      ComputeQuotaSummary.Builder computeQuotaTarget(ComputeQuotaTarget computeQuotaTarget)

      The target entity to allocate compute resources to.

      Parameters:
      computeQuotaTarget - The target entity to allocate compute resources to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeQuotaTarget

      default ComputeQuotaSummary.Builder computeQuotaTarget(Consumer<ComputeQuotaTarget.Builder> computeQuotaTarget)

      The target entity to allocate compute resources to.

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

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

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

      ComputeQuotaSummary.Builder activationState(String activationState)

      The state of the compute allocation being described. Use to enable or disable compute allocation.

      Default is Enabled.

      Parameters:
      activationState - The state of the compute allocation being described. Use to enable or disable compute allocation.

      Default is Enabled.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • activationState

      ComputeQuotaSummary.Builder activationState(ActivationState activationState)

      The state of the compute allocation being described. Use to enable or disable compute allocation.

      Default is Enabled.

      Parameters:
      activationState - The state of the compute allocation being described. Use to enable or disable compute allocation.

      Default is Enabled.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      ComputeQuotaSummary.Builder creationTime(Instant creationTime)

      Creation time of the compute allocation definition.

      Parameters:
      creationTime - Creation time of the compute allocation definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      ComputeQuotaSummary.Builder lastModifiedTime(Instant lastModifiedTime)

      Last modified time of the compute allocation definition.

      Parameters:
      lastModifiedTime - Last modified time of the compute allocation definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.