Interface ManagedResourceSummary.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) for the managed resource.

      Parameters:
      arn - The Amazon Resource Name (ARN) for the managed resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the managed resource.

      Parameters:
      name - The name of the managed resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZones

      ManagedResourceSummary.Builder availabilityZones(Collection<String> availabilityZones)

      The Availability Zones that a resource is deployed in.

      Parameters:
      availabilityZones - The Availability Zones that a resource is deployed in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZones

      ManagedResourceSummary.Builder availabilityZones(String... availabilityZones)

      The Availability Zones that a resource is deployed in.

      Parameters:
      availabilityZones - The Availability Zones that a resource is deployed in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appliedWeights

      ManagedResourceSummary.Builder appliedWeights(Map<String,Float> appliedWeights)

      A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.

      Parameters:
      appliedWeights - A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • zonalShifts

      An array of the zonal shifts for a resource.

      Parameters:
      zonalShifts - An array of the zonal shifts for a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • zonalShifts

      An array of the zonal shifts for a resource.

      Parameters:
      zonalShifts - An array of the zonal shifts for a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • zonalShifts

      An array of the zonal shifts for a resource.

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

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

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

      An array of the autoshifts that have been completed for a resource.

      Parameters:
      autoshifts - An array of the autoshifts that have been completed for a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoshifts

      An array of the autoshifts that have been completed for a resource.

      Parameters:
      autoshifts - An array of the autoshifts that have been completed for a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoshifts

      An array of the autoshifts that have been completed for a resource.

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

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

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

      ManagedResourceSummary.Builder zonalAutoshiftStatus(String zonalAutoshiftStatus)

      The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status to ENABLED or DISABLED.

      Parameters:
      zonalAutoshiftStatus - The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status to ENABLED or DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • zonalAutoshiftStatus

      ManagedResourceSummary.Builder zonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus)

      The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status to ENABLED or DISABLED.

      Parameters:
      zonalAutoshiftStatus - The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status to ENABLED or DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • practiceRunStatus

      ManagedResourceSummary.Builder practiceRunStatus(String practiceRunStatus)

      This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, ARC sets this value to ENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, ARC sets the value to DISABLED.

      ARC updates this status; you can't set a practice run status to ENABLED or DISABLED .

      Parameters:
      practiceRunStatus - This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, ARC sets this value to ENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, ARC sets the value to DISABLED.

      ARC updates this status; you can't set a practice run status to ENABLED or DISABLED.

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

      ManagedResourceSummary.Builder practiceRunStatus(ZonalAutoshiftStatus practiceRunStatus)

      This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, ARC sets this value to ENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, ARC sets the value to DISABLED.

      ARC updates this status; you can't set a practice run status to ENABLED or DISABLED .

      Parameters:
      practiceRunStatus - This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, ARC sets this value to ENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, ARC sets the value to DISABLED.

      ARC updates this status; you can't set a practice run status to ENABLED or DISABLED.

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