Package com.vmware.nsx_policy.model
Class InstanceRuntimeStatistic.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.InstanceRuntimeStatistic.Builder
-
- Enclosing class:
- InstanceRuntimeStatistic
public static final class InstanceRuntimeStatistic.Builder extends java.lang.Object
Builder class forInstanceRuntimeStatistic
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofInstanceRuntimeStatistic
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceRuntimeStatistic
build()
InstanceRuntimeStatistic.Builder
setInterfaceStatistics(java.util.List<RuntimeInterfaceStatistics> interfaceStatistics)
List of statistics for all data NICs on a runtime.InstanceRuntimeStatistic.Builder
setPrimaryRuntimeStats(java.lang.Boolean primaryRuntimeStats)
Specifies whether statistics are for primary runtime.InstanceRuntimeStatistic.Builder
setRuntimeId(java.lang.String runtimeId)
Id of the instance runtime This property may be present in responses from the server, but if it is present in a request to server it will be ignored.InstanceRuntimeStatistic.Builder
setRuntimeName(java.lang.String runtimeName)
Name of the instance runtime This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofInstanceRuntimeStatistic
.
-
-
Method Detail
-
setInterfaceStatistics
public InstanceRuntimeStatistic.Builder setInterfaceStatistics(java.util.List<RuntimeInterfaceStatistics> interfaceStatistics)
List of statistics for all data NICs on a runtime. 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:
interfaceStatistics
- New value for the property.
-
setPrimaryRuntimeStats
public InstanceRuntimeStatistic.Builder setPrimaryRuntimeStats(java.lang.Boolean primaryRuntimeStats)
Specifies whether statistics are for primary runtime. 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:
primaryRuntimeStats
- New value for the property.
-
setRuntimeId
public InstanceRuntimeStatistic.Builder setRuntimeId(java.lang.String runtimeId)
Id of the instance runtime 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:
runtimeId
- New value for the property.
-
setRuntimeName
public InstanceRuntimeStatistic.Builder setRuntimeName(java.lang.String runtimeName)
Name of the instance runtime 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:
runtimeName
- New value for the property.
-
build
public InstanceRuntimeStatistic build()
-
-