Interface GetManagedResourceResponse.Builder

    • Method Detail

      • appliedWeights

        GetManagedResourceResponse.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.
      • arn

        GetManagedResourceResponse.Builder arn​(String arn)

        The Amazon Resource Name (ARN) for the resource.

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

        GetManagedResourceResponse.Builder autoshifts​(Collection<AutoshiftInResource> autoshifts)

        An array of the autoshifts that are active for the resource.

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

        GetManagedResourceResponse.Builder autoshifts​(AutoshiftInResource... autoshifts)

        An array of the autoshifts that are active for the resource.

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

        GetManagedResourceResponse.Builder name​(String name)

        The name of the resource.

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

        GetManagedResourceResponse.Builder practiceRunConfiguration​(PracticeRunConfiguration practiceRunConfiguration)

        The practice run configuration for zonal autoshift that's associated with the resource.

        Parameters:
        practiceRunConfiguration - The practice run configuration for zonal autoshift that's associated with the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • zonalAutoshiftStatus

        GetManagedResourceResponse.Builder zonalAutoshiftStatus​(String zonalAutoshiftStatus)

        The status for zonal autoshift for a resource. When the autoshift status is ENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

        Parameters:
        zonalAutoshiftStatus - The status for zonal autoshift for a resource. When the autoshift status is ENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ZonalAutoshiftStatus, ZonalAutoshiftStatus
      • zonalAutoshiftStatus

        GetManagedResourceResponse.Builder zonalAutoshiftStatus​(ZonalAutoshiftStatus zonalAutoshiftStatus)

        The status for zonal autoshift for a resource. When the autoshift status is ENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

        Parameters:
        zonalAutoshiftStatus - The status for zonal autoshift for a resource. When the autoshift status is ENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ZonalAutoshiftStatus, ZonalAutoshiftStatus
      • zonalShifts

        GetManagedResourceResponse.Builder zonalShifts​(Collection<ZonalShiftInResource> zonalShifts)

        The zonal shifts that are currently active for a resource.

        Parameters:
        zonalShifts - The zonal shifts that are currently active for a resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • zonalShifts

        GetManagedResourceResponse.Builder zonalShifts​(ZonalShiftInResource... zonalShifts)

        The zonal shifts that are currently active for a resource.

        Parameters:
        zonalShifts - The zonal shifts that are currently active for a resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.