Class ScalingPlanPatch
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.ScalingPlanPatch
-
public final class ScalingPlanPatch extends Object
Scaling plan properties that can be patched.
-
-
Constructor Summary
Constructors Constructor Description ScalingPlanPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: Description of scaling plan.StringexclusionTag()Get the exclusionTag property: Exclusion tag for scaling plan.StringfriendlyName()Get the friendlyName property: User friendly name of scaling plan.List<ScalingHostPoolReference>hostPoolReferences()Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.List<ScalingSchedule>schedules()Get the schedules property: List of ScalingSchedule definitions.Map<String,String>tags()Get the tags property: tags to be updated.StringtimeZone()Get the timeZone property: Timezone of the scaling plan.voidvalidate()Validates the instance.ScalingPlanPatchwithDescription(String description)Set the description property: Description of scaling plan.ScalingPlanPatchwithExclusionTag(String exclusionTag)Set the exclusionTag property: Exclusion tag for scaling plan.ScalingPlanPatchwithFriendlyName(String friendlyName)Set the friendlyName property: User friendly name of scaling plan.ScalingPlanPatchwithHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences)Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.ScalingPlanPatchwithSchedules(List<ScalingSchedule> schedules)Set the schedules property: List of ScalingSchedule definitions.ScalingPlanPatchwithTags(Map<String,String> tags)Set the tags property: tags to be updated.ScalingPlanPatchwithTimeZone(String timeZone)Set the timeZone property: Timezone of the scaling plan.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: tags to be updated.- Returns:
- the tags value.
-
withTags
public ScalingPlanPatch withTags(Map<String,String> tags)
Set the tags property: tags to be updated.- Parameters:
tags- the tags value to set.- Returns:
- the ScalingPlanPatch object itself.
-
description
public String description()
Get the description property: Description of scaling plan.- Returns:
- the description value.
-
withDescription
public ScalingPlanPatch withDescription(String description)
Set the description property: Description of scaling plan.- Parameters:
description- the description value to set.- Returns:
- the ScalingPlanPatch object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: User friendly name of scaling plan.- Returns:
- the friendlyName value.
-
withFriendlyName
public ScalingPlanPatch withFriendlyName(String friendlyName)
Set the friendlyName property: User friendly name of scaling plan.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the ScalingPlanPatch object itself.
-
timeZone
public String timeZone()
Get the timeZone property: Timezone of the scaling plan.- Returns:
- the timeZone value.
-
withTimeZone
public ScalingPlanPatch withTimeZone(String timeZone)
Set the timeZone property: Timezone of the scaling plan.- Parameters:
timeZone- the timeZone value to set.- Returns:
- the ScalingPlanPatch object itself.
-
exclusionTag
public String exclusionTag()
Get the exclusionTag property: Exclusion tag for scaling plan.- Returns:
- the exclusionTag value.
-
withExclusionTag
public ScalingPlanPatch withExclusionTag(String exclusionTag)
Set the exclusionTag property: Exclusion tag for scaling plan.- Parameters:
exclusionTag- the exclusionTag value to set.- Returns:
- the ScalingPlanPatch object itself.
-
schedules
public List<ScalingSchedule> schedules()
Get the schedules property: List of ScalingSchedule definitions.- Returns:
- the schedules value.
-
withSchedules
public ScalingPlanPatch withSchedules(List<ScalingSchedule> schedules)
Set the schedules property: List of ScalingSchedule definitions.- Parameters:
schedules- the schedules value to set.- Returns:
- the ScalingPlanPatch object itself.
-
hostPoolReferences
public List<ScalingHostPoolReference> hostPoolReferences()
Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.- Returns:
- the hostPoolReferences value.
-
withHostPoolReferences
public ScalingPlanPatch withHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences)
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.
-
-