Package com.vmware.nsx_policy.model
Class PolicyCapacityDashboardUsage.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyCapacityDashboardUsage.Builder
-
- Enclosing class:
- PolicyCapacityDashboardUsage
public static final class PolicyCapacityDashboardUsage.Builder extends java.lang.ObjectBuilder class forPolicyCapacityDashboardUsage.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyCapacityDashboardUsage.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyCapacityDashboardUsage.
-
-
Method Detail
-
setCurrentUsageCount
public PolicyCapacityDashboardUsage.Builder setCurrentUsageCount(java.lang.Long currentUsageCount)
Indicate the current usage count of object type. format: int64- Parameters:
currentUsageCount- New value for the property.
-
setCurrentUsagePercentage
public PolicyCapacityDashboardUsage.Builder setCurrentUsagePercentage(java.lang.Double currentUsagePercentage)
Current usage percentage for object type- Parameters:
currentUsagePercentage- New value for the property.
-
setDisplayName
public PolicyCapacityDashboardUsage.Builder setDisplayName(java.lang.String displayName)
Display name for NSX object type.- Parameters:
displayName- New value for the property.
-
setMaxSupportedCount
public PolicyCapacityDashboardUsage.Builder setMaxSupportedCount(java.lang.Long maxSupportedCount)
This is the maximum supported count for object type in consideration. format: int64- Parameters:
maxSupportedCount- New value for the property.
-
setUsageType
public PolicyCapacityDashboardUsage.Builder setUsageType(java.lang.String usageType)
Possible values are:-
PolicyCapacityDashboardUsage.USAGE_TYPE_VSPHERE_CLUSTERS -
PolicyCapacityDashboardUsage.USAGE_TYPE_PREPARED_HOSTS -
PolicyCapacityDashboardUsage.USAGE_TYPE_GROUPS -
PolicyCapacityDashboardUsage.USAGE_TYPE_SEGMENT -
PolicyCapacityDashboardUsage.USAGE_TYPE_SEGMENT_PORT -
PolicyCapacityDashboardUsage.USAGE_TYPE_FIREWALL_RULES -
PolicyCapacityDashboardUsage.USAGE_TYPE_FIREWALL_SECTIONS -
PolicyCapacityDashboardUsage.USAGE_TYPE_SECURITY_POLICY_RULES -
PolicyCapacityDashboardUsage.USAGE_TYPE_SECURITY_POLICY -
PolicyCapacityDashboardUsage.USAGE_TYPE_PROTECTION_ENABLED_HOST -
PolicyCapacityDashboardUsage.USAGE_TYPE_PROTECTION_ENABLED_VIRTUAL_MACHINES -
PolicyCapacityDashboardUsage.USAGE_TYPE_EDGE_CLUSTERS -
PolicyCapacityDashboardUsage.USAGE_TYPE_EDGE_NODES -
PolicyCapacityDashboardUsage.USAGE_TYPE_TIER0_ROUTERS -
PolicyCapacityDashboardUsage.USAGE_TYPE_TIER1_ROUTERS -
PolicyCapacityDashboardUsage.USAGE_TYPE_PREFIX_LIST -
PolicyCapacityDashboardUsage.USAGE_TYPE_NAT_RULES -
PolicyCapacityDashboardUsage.USAGE_TYPE_DHCP_IP_POOLS -
PolicyCapacityDashboardUsage.USAGE_TYPE_TIER1_WITH_NAT_RULE
- Parameters:
usageType- New value for the property.
-
-
build
public PolicyCapacityDashboardUsage build()
-
-