Class StampCapacityInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.StampCapacityInner
Stamp capacity information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).Get the computeMode property: Shared/dedicated workers.Get the excludeFromCapacityAllocation property: If <code>true</code>, it includes basic apps.Get the isApplicableForAllComputeModes property: <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.isLinux()
Get the isLinux property: Is this a linux stamp capacity.name()
Get the name property: Name of the stamp.siteMode()
Get the siteMode property: Shared or Dedicated.Get the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).unit()
Get the unit property: Name of the unit.void
validate()
Validates the instance.withAvailableCapacity
(Long availableCapacity) Set the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).withComputeMode
(ComputeModeOptions computeMode) Set the computeMode property: Shared/dedicated workers.withExcludeFromCapacityAllocation
(Boolean excludeFromCapacityAllocation) Set the excludeFromCapacityAllocation property: If <code>true</code>, it includes basic apps.withIsApplicableForAllComputeModes
(Boolean isApplicableForAllComputeModes) Set the isApplicableForAllComputeModes property: <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.withIsLinux
(Boolean isLinux) Set the isLinux property: Is this a linux stamp capacity.Set the name property: Name of the stamp.withSiteMode
(String siteMode) Set the siteMode property: Shared or Dedicated.withTotalCapacity
(Long totalCapacity) Set the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).Set the unit property: Name of the unit.withWorkerSize
(WorkerSizeOptions workerSize) Set the workerSize property: Size of the machines.withWorkerSizeId
(Integer workerSizeId) Set the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.Get the workerSize property: Size of the machines.Get the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.
-
Constructor Details
-
StampCapacityInner
public StampCapacityInner()
-
-
Method Details
-
name
Get the name property: Name of the stamp.- Returns:
- the name value.
-
withName
Set the name property: Name of the stamp.- Parameters:
name
- the name value to set.- Returns:
- the StampCapacityInner object itself.
-
availableCapacity
Get the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).- Returns:
- the availableCapacity value.
-
withAvailableCapacity
Set the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).- Parameters:
availableCapacity
- the availableCapacity value to set.- Returns:
- the StampCapacityInner object itself.
-
totalCapacity
Get the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).- Returns:
- the totalCapacity value.
-
withTotalCapacity
Set the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).- Parameters:
totalCapacity
- the totalCapacity value to set.- Returns:
- the StampCapacityInner object itself.
-
unit
Get the unit property: Name of the unit.- Returns:
- the unit value.
-
withUnit
Set the unit property: Name of the unit.- Parameters:
unit
- the unit value to set.- Returns:
- the StampCapacityInner object itself.
-
computeMode
Get the computeMode property: Shared/dedicated workers.- Returns:
- the computeMode value.
-
withComputeMode
Set the computeMode property: Shared/dedicated workers.- Parameters:
computeMode
- the computeMode value to set.- Returns:
- the StampCapacityInner object itself.
-
workerSize
Get the workerSize property: Size of the machines.- Returns:
- the workerSize value.
-
withWorkerSize
Set the workerSize property: Size of the machines.- Parameters:
workerSize
- the workerSize value to set.- Returns:
- the StampCapacityInner object itself.
-
workerSizeId
Get the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.- Returns:
- the workerSizeId value.
-
withWorkerSizeId
Set the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.- Parameters:
workerSizeId
- the workerSizeId value to set.- Returns:
- the StampCapacityInner object itself.
-
excludeFromCapacityAllocation
Get the excludeFromCapacityAllocation property: If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation.- Returns:
- the excludeFromCapacityAllocation value.
-
withExcludeFromCapacityAllocation
Set the excludeFromCapacityAllocation property: If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation.- Parameters:
excludeFromCapacityAllocation
- the excludeFromCapacityAllocation value to set.- Returns:
- the StampCapacityInner object itself.
-
isApplicableForAllComputeModes
Get the isApplicableForAllComputeModes property: <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.- Returns:
- the isApplicableForAllComputeModes value.
-
withIsApplicableForAllComputeModes
public StampCapacityInner withIsApplicableForAllComputeModes(Boolean isApplicableForAllComputeModes) Set the isApplicableForAllComputeModes property: <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.- Parameters:
isApplicableForAllComputeModes
- the isApplicableForAllComputeModes value to set.- Returns:
- the StampCapacityInner object itself.
-
siteMode
Get the siteMode property: Shared or Dedicated.- Returns:
- the siteMode value.
-
withSiteMode
Set the siteMode property: Shared or Dedicated.- Parameters:
siteMode
- the siteMode value to set.- Returns:
- the StampCapacityInner object itself.
-
isLinux
Get the isLinux property: Is this a linux stamp capacity.- Returns:
- the isLinux value.
-
withIsLinux
Set the isLinux property: Is this a linux stamp capacity.- Parameters:
isLinux
- the isLinux value to set.- Returns:
- the StampCapacityInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-