Class ScalingPlanProperties
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.fluent.models.ScalingPlanProperties
-
public final class ScalingPlanProperties extends Object
Scaling plan properties.
-
-
Constructor Summary
Constructors Constructor Description ScalingPlanProperties()
-
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.ScalingHostPoolTypehostPoolType()Get the hostPoolType property: HostPool type for desktop.StringobjectId()Get the objectId property: ObjectId of scaling plan.List<ScalingSchedule>schedules()Get the schedules property: List of ScalingSchedule definitions.StringtimeZone()Get the timeZone property: Timezone of the scaling plan.voidvalidate()Validates the instance.ScalingPlanPropertieswithDescription(String description)Set the description property: Description of scaling plan.ScalingPlanPropertieswithExclusionTag(String exclusionTag)Set the exclusionTag property: Exclusion tag for scaling plan.ScalingPlanPropertieswithFriendlyName(String friendlyName)Set the friendlyName property: User friendly name of scaling plan.ScalingPlanPropertieswithHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences)Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.ScalingPlanPropertieswithHostPoolType(ScalingHostPoolType hostPoolType)Set the hostPoolType property: HostPool type for desktop.ScalingPlanPropertieswithSchedules(List<ScalingSchedule> schedules)Set the schedules property: List of ScalingSchedule definitions.ScalingPlanPropertieswithTimeZone(String timeZone)Set the timeZone property: Timezone of the scaling plan.
-
-
-
Method Detail
-
objectId
public String objectId()
Get the objectId property: ObjectId of scaling plan. (internal use).- Returns:
- the objectId value.
-
description
public String description()
Get the description property: Description of scaling plan.- Returns:
- the description value.
-
withDescription
public ScalingPlanProperties withDescription(String description)
Set the description property: Description of scaling plan.- Parameters:
description- the description value to set.- Returns:
- the ScalingPlanProperties object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: User friendly name of scaling plan.- Returns:
- the friendlyName value.
-
withFriendlyName
public ScalingPlanProperties withFriendlyName(String friendlyName)
Set the friendlyName property: User friendly name of scaling plan.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the ScalingPlanProperties object itself.
-
timeZone
public String timeZone()
Get the timeZone property: Timezone of the scaling plan.- Returns:
- the timeZone value.
-
withTimeZone
public ScalingPlanProperties withTimeZone(String timeZone)
Set the timeZone property: Timezone of the scaling plan.- Parameters:
timeZone- the timeZone value to set.- Returns:
- the ScalingPlanProperties object itself.
-
hostPoolType
public ScalingHostPoolType hostPoolType()
Get the hostPoolType property: HostPool type for desktop.- Returns:
- the hostPoolType value.
-
withHostPoolType
public ScalingPlanProperties withHostPoolType(ScalingHostPoolType hostPoolType)
Set the hostPoolType property: HostPool type for desktop.- Parameters:
hostPoolType- the hostPoolType value to set.- Returns:
- the ScalingPlanProperties object itself.
-
exclusionTag
public String exclusionTag()
Get the exclusionTag property: Exclusion tag for scaling plan.- Returns:
- the exclusionTag value.
-
withExclusionTag
public ScalingPlanProperties withExclusionTag(String exclusionTag)
Set the exclusionTag property: Exclusion tag for scaling plan.- Parameters:
exclusionTag- the exclusionTag value to set.- Returns:
- the ScalingPlanProperties object itself.
-
schedules
public List<ScalingSchedule> schedules()
Get the schedules property: List of ScalingSchedule definitions.- Returns:
- the schedules value.
-
withSchedules
public ScalingPlanProperties withSchedules(List<ScalingSchedule> schedules)
Set the schedules property: List of ScalingSchedule definitions.- Parameters:
schedules- the schedules value to set.- Returns:
- the ScalingPlanProperties object itself.
-
hostPoolReferences
public List<ScalingHostPoolReference> hostPoolReferences()
Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.- Returns:
- the hostPoolReferences value.
-
withHostPoolReferences
public ScalingPlanProperties withHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences)
Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.- Parameters:
hostPoolReferences- the hostPoolReferences value to set.- Returns:
- the ScalingPlanProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-