Class WaitStepAttributes

java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.WaitStepAttributes

public final class WaitStepAttributes extends Object
The parameters for the wait step.
  • Constructor Details

    • WaitStepAttributes

      public WaitStepAttributes()
      Creates an instance of WaitStepAttributes class.
  • Method Details

    • duration

      public String duration()
      Get the duration property: The duration in ISO 8601 format of how long the wait should be.
      Returns:
      the duration value.
    • withDuration

      public WaitStepAttributes withDuration(String duration)
      Set the duration property: The duration in ISO 8601 format of how long the wait should be.
      Parameters:
      duration - the duration value to set.
      Returns:
      the WaitStepAttributes object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.