JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.arczonalshift.model

Class UpdatePracticeRunConfigurationRequest

    • Constructor Detail

      • UpdatePracticeRunConfigurationRequest

        public UpdatePracticeRunConfigurationRequest()
    • Method Detail

      • getBlockedDates

        public List<String> getBlockedDates()

        Add, change, or remove blocked dates for a practice run in zonal autoshift.

        Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

        For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024年05月01日.

        Returns:
        Add, change, or remove blocked dates for a practice run in zonal autoshift.

        Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

        For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024年05月01日.

      • setBlockedDates

        public void setBlockedDates(Collection<String> blockedDates)

        Add, change, or remove blocked dates for a practice run in zonal autoshift.

        Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

        For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024年05月01日.

        Parameters:
        blockedDates - Add, change, or remove blocked dates for a practice run in zonal autoshift.

        Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

        For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024年05月01日.

      • withBlockedDates

        public UpdatePracticeRunConfigurationRequest withBlockedDates(String... blockedDates)

        Add, change, or remove blocked dates for a practice run in zonal autoshift.

        Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

        For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024年05月01日.

        NOTE: This method appends the values to the existing list (if any). Use setBlockedDates(java.util.Collection) or withBlockedDates(java.util.Collection) if you want to override the existing values.

        Parameters:
        blockedDates - Add, change, or remove blocked dates for a practice run in zonal autoshift.

        Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

        For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024年05月01日.

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

        public UpdatePracticeRunConfigurationRequest withBlockedDates(Collection<String> blockedDates)

        Add, change, or remove blocked dates for a practice run in zonal autoshift.

        Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

        For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024年05月01日.

        Parameters:
        blockedDates - Add, change, or remove blocked dates for a practice run in zonal autoshift.

        Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

        For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024年05月01日.

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

        public List<String> getBlockedWindows()

        Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

        The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

        For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

        Returns:
        Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

        The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

        For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

      • setBlockedWindows

        public void setBlockedWindows(Collection<String> blockedWindows)

        Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

        The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

        For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

        Parameters:
        blockedWindows - Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

        The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

        For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

      • withBlockedWindows

        public UpdatePracticeRunConfigurationRequest withBlockedWindows(String... blockedWindows)

        Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

        The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

        For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

        NOTE: This method appends the values to the existing list (if any). Use setBlockedWindows(java.util.Collection) or withBlockedWindows(java.util.Collection) if you want to override the existing values.

        Parameters:
        blockedWindows - Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

        The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

        For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

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

        public UpdatePracticeRunConfigurationRequest withBlockedWindows(Collection<String> blockedWindows)

        Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

        The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

        For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

        Parameters:
        blockedWindows - Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

        The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

        For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

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

        public List<ControlCondition> getBlockingAlarms()

        Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.

        Returns:
        Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.
      • setBlockingAlarms

        public void setBlockingAlarms(Collection<ControlCondition> blockingAlarms)

        Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.

        Parameters:
        blockingAlarms - Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.
      • withBlockingAlarms

        public UpdatePracticeRunConfigurationRequest withBlockingAlarms(ControlCondition... blockingAlarms)

        Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.

        NOTE: This method appends the values to the existing list (if any). Use setBlockingAlarms(java.util.Collection) or withBlockingAlarms(java.util.Collection) if you want to override the existing values.

        Parameters:
        blockingAlarms - Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withBlockingAlarms

        public UpdatePracticeRunConfigurationRequest withBlockingAlarms(Collection<ControlCondition> blockingAlarms)

        Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.

        Parameters:
        blockingAlarms - Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getOutcomeAlarms

        public List<ControlCondition> getOutcomeAlarms()

        Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice runs.

        Returns:
        Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice runs.
      • setOutcomeAlarms

        public void setOutcomeAlarms(Collection<ControlCondition> outcomeAlarms)

        Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice runs.

        Parameters:
        outcomeAlarms - Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice runs.
      • withOutcomeAlarms

        public UpdatePracticeRunConfigurationRequest withOutcomeAlarms(Collection<ControlCondition> outcomeAlarms)

        Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice runs.

        Parameters:
        outcomeAlarms - Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResourceIdentifier

        public void setResourceIdentifier(String resourceIdentifier)

        The identifier for the resource that you want to update the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

        Parameters:
        resourceIdentifier - The identifier for the resource that you want to update the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
      • getResourceIdentifier

        public String getResourceIdentifier()

        The identifier for the resource that you want to update the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

        Returns:
        The identifier for the resource that you want to update the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
      • withResourceIdentifier

        public UpdatePracticeRunConfigurationRequest withResourceIdentifier(String resourceIdentifier)

        The identifier for the resource that you want to update the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

        Parameters:
        resourceIdentifier - The identifier for the resource that you want to update the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /