Package com.vmware.nsx_policy.model
Class ShaMonitorExportedMetricDetail.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ShaMonitorExportedMetricDetail.Builder
-
- Enclosing class:
- ShaMonitorExportedMetricDetail
public static final class ShaMonitorExportedMetricDetail.Builder extends java.lang.Object
Builder class forShaMonitorExportedMetricDetail
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofShaMonitorExportedMetricDetail
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofShaMonitorExportedMetricDetail
.
-
-
Method Detail
-
setCollectedFrom
public ShaMonitorExportedMetricDetail.Builder setCollectedFrom(java.util.List<java.lang.String> collectedFrom)
Possible values are:-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_NSX_ESX
-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_NSX_KVM
-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_NSX_BAREMETAL_SERVER
-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_NSX_EDGE
-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_NSX_PUBLIC_CLOUD_GATEWAY
-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_NSX_MANAGER
-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_NSX_POLICY_MANAGER
-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_NSX_CONTROLLER
-
ShaMonitorExportedMetricDetail.COLLECTED_FROM_GLOBAL_MANAGER
- Parameters:
collectedFrom
- New value for the property.
-
-
setDescription
public ShaMonitorExportedMetricDetail.Builder setDescription(java.lang.String description)
Description of this metric This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
description
- New value for the property.
-
setMetricKeyPerDestination
public ShaMonitorExportedMetricDetail.Builder setMetricKeyPerDestination(java.util.List<ShaMonitorMetricKey> metricKeyPerDestination)
List of metric key for the destination. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
metricKeyPerDestination
- New value for the property.
-
build
public ShaMonitorExportedMetricDetail build()
-
-