public final class StampCapacityInner extends Object
| Constructor and Description |
|---|
StampCapacityInner() |
| Modifier and Type | Method and Description |
|---|---|
Long |
availableCapacity()
Get the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).
|
ComputeModeOptions |
computeMode()
Get the computeMode property: Shared/dedicated workers.
|
Boolean |
excludeFromCapacityAllocation()
Get the excludeFromCapacityAllocation property: If <code>true</code>, it includes basic apps.
|
Boolean |
isApplicableForAllComputeModes()
Get the isApplicableForAllComputeModes property: <code>true</code> if capacity is applicable for all
apps; otherwise, <code>false</code>.
|
Boolean |
isLinux()
Get the isLinux property: Is this a linux stamp capacity.
|
String |
name()
Get the name property: Name of the stamp.
|
String |
siteMode()
Get the siteMode property: Shared or Dedicated.
|
Long |
totalCapacity()
Get the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).
|
String |
unit()
Get the unit property: Name of the unit.
|
void |
validate()
Validates the instance.
|
StampCapacityInner |
withAvailableCapacity(Long availableCapacity)
Set the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).
|
StampCapacityInner |
withComputeMode(ComputeModeOptions computeMode)
Set the computeMode property: Shared/dedicated workers.
|
StampCapacityInner |
withExcludeFromCapacityAllocation(Boolean excludeFromCapacityAllocation)
Set the excludeFromCapacityAllocation property: If <code>true</code>, it includes basic apps.
|
StampCapacityInner |
withIsApplicableForAllComputeModes(Boolean isApplicableForAllComputeModes)
Set the isApplicableForAllComputeModes property: <code>true</code> if capacity is applicable for all
apps; otherwise, <code>false</code>.
|
StampCapacityInner |
withIsLinux(Boolean isLinux)
Set the isLinux property: Is this a linux stamp capacity.
|
StampCapacityInner |
withName(String name)
Set the name property: Name of the stamp.
|
StampCapacityInner |
withSiteMode(String siteMode)
Set the siteMode property: Shared or Dedicated.
|
StampCapacityInner |
withTotalCapacity(Long totalCapacity)
Set the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).
|
StampCapacityInner |
withUnit(String unit)
Set the unit property: Name of the unit.
|
StampCapacityInner |
withWorkerSize(WorkerSizeOptions workerSize)
Set the workerSize property: Size of the machines.
|
StampCapacityInner |
withWorkerSizeId(Integer workerSizeId)
Set the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.
|
WorkerSizeOptions |
workerSize()
Get the workerSize property: Size of the machines.
|
Integer |
workerSizeId()
Get the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.
|
public String name()
public StampCapacityInner withName(String name)
name - the name value to set.public Long availableCapacity()
public StampCapacityInner withAvailableCapacity(Long availableCapacity)
availableCapacity - the availableCapacity value to set.public Long totalCapacity()
public StampCapacityInner withTotalCapacity(Long totalCapacity)
totalCapacity - the totalCapacity value to set.public String unit()
public StampCapacityInner withUnit(String unit)
unit - the unit value to set.public ComputeModeOptions computeMode()
public StampCapacityInner withComputeMode(ComputeModeOptions computeMode)
computeMode - the computeMode value to set.public WorkerSizeOptions workerSize()
public StampCapacityInner withWorkerSize(WorkerSizeOptions workerSize)
workerSize - the workerSize value to set.public Integer workerSizeId()
public StampCapacityInner withWorkerSizeId(Integer workerSizeId)
workerSizeId - the workerSizeId value to set.public Boolean excludeFromCapacityAllocation()
public StampCapacityInner withExcludeFromCapacityAllocation(Boolean excludeFromCapacityAllocation)
excludeFromCapacityAllocation - the excludeFromCapacityAllocation value to set.public Boolean isApplicableForAllComputeModes()
public StampCapacityInner withIsApplicableForAllComputeModes(Boolean isApplicableForAllComputeModes)
isApplicableForAllComputeModes - the isApplicableForAllComputeModes value to set.public String siteMode()
public StampCapacityInner withSiteMode(String siteMode)
siteMode - the siteMode value to set.public Boolean isLinux()
public StampCapacityInner withIsLinux(Boolean isLinux)
isLinux - the isLinux value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.