Class ScalingPlanPatch
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.ScalingPlanPatch
Scaling plan properties that can be patched.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of scaling plan.Get the exclusionTag property: Exclusion tag for scaling plan.Get the friendlyName property: User friendly name of scaling plan.Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.Get the schedules property: List of ScalingSchedule definitions.tags()Get the tags property: tags to be updated.timeZone()Get the timeZone property: Timezone of the scaling plan.voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of scaling plan.withExclusionTag(String exclusionTag) Set the exclusionTag property: Exclusion tag for scaling plan.withFriendlyName(String friendlyName) Set the friendlyName property: User friendly name of scaling plan.withHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences) Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.withSchedules(List<ScalingSchedule> schedules) Set the schedules property: List of ScalingSchedule definitions.Set the tags property: tags to be updated.withTimeZone(String timeZone) Set the timeZone property: Timezone of the scaling plan.
-
Constructor Details
-
ScalingPlanPatch
public ScalingPlanPatch()Creates an instance of ScalingPlanPatch class.
-
-
Method Details
-
tags
Get the tags property: tags to be updated.- Returns:
- the tags value.
-
withTags
Set the tags property: tags to be updated.- Parameters:
tags- the tags value to set.- Returns:
- the ScalingPlanPatch object itself.
-
description
Get the description property: Description of scaling plan.- Returns:
- the description value.
-
withDescription
Set the description property: Description of scaling plan.- Parameters:
description- the description value to set.- Returns:
- the ScalingPlanPatch object itself.
-
friendlyName
Get the friendlyName property: User friendly name of scaling plan.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: User friendly name of scaling plan.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the ScalingPlanPatch object itself.
-
timeZone
Get the timeZone property: Timezone of the scaling plan.- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: Timezone of the scaling plan.- Parameters:
timeZone- the timeZone value to set.- Returns:
- the ScalingPlanPatch object itself.
-
exclusionTag
Get the exclusionTag property: Exclusion tag for scaling plan.- Returns:
- the exclusionTag value.
-
withExclusionTag
Set the exclusionTag property: Exclusion tag for scaling plan.- Parameters:
exclusionTag- the exclusionTag value to set.- Returns:
- the ScalingPlanPatch object itself.
-
schedules
Get the schedules property: List of ScalingSchedule definitions.- Returns:
- the schedules value.
-
withSchedules
Set the schedules property: List of ScalingSchedule definitions.- Parameters:
schedules- the schedules value to set.- Returns:
- the ScalingPlanPatch object itself.
-
hostPoolReferences
Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.- Returns:
- the hostPoolReferences value.
-
withHostPoolReferences
Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.- Parameters:
hostPoolReferences- the hostPoolReferences value to set.- Returns:
- the ScalingPlanPatch object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-