Class WaitStepAttributes
java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.WaitStepAttributes
The parameters for the wait step.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionduration()Get the duration property: The duration in ISO 8601 format of how long the wait should be.voidvalidate()Validates the instance.withDuration(String duration) Set the duration property: The duration in ISO 8601 format of how long the wait should be.
-
Constructor Details
-
WaitStepAttributes
public WaitStepAttributes()Creates an instance of WaitStepAttributes class.
-
-
Method Details
-
duration
Get the duration property: The duration in ISO 8601 format of how long the wait should be.- Returns:
- the duration value.
-
withDuration
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.
-