Package com.vmware.nsx_policy.model
Class PolicyServiceInstanceStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyServiceInstanceStatistics.Builder
-
- Enclosing class:
- PolicyServiceInstanceStatistics
public static final class PolicyServiceInstanceStatistics.Builder extends java.lang.Object
Builder class forPolicyServiceInstanceStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyServiceInstanceStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyServiceInstanceStatistics
build()
PolicyServiceInstanceStatistics.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Enforcement point path, forward slashes must be escaped using %2F.PolicyServiceInstanceStatistics.Builder
setInstanceRuntimeStatistics(java.util.List<InstanceRuntimeStatistic> instanceRuntimeStatistics)
Statistics for the data NICs for all the runtimes associated with this service instance.PolicyServiceInstanceStatistics.Builder
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.PolicyServiceInstanceStatistics.Builder
setSchema(java.lang.String schema)
Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyServiceInstanceStatistics.Builder
setSelf(SelfResourceLink self)
PolicyServiceInstanceStatistics.Builder
setServiceInstanceId(java.lang.String serviceInstanceId)
PolicyServiceInsatnce path 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 ofPolicyServiceInstanceStatistics
.
-
-
Method Detail
-
setLinks
public PolicyServiceInstanceStatistics.Builder setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource. Ignored on PUT and POST. 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:
links
- New value for the property.
-
setSchema
public PolicyServiceInstanceStatistics.Builder setSchema(java.lang.String schema)
Schema for this resource 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:
schema
- New value for the property.
-
setSelf
public PolicyServiceInstanceStatistics.Builder setSelf(SelfResourceLink self)
- Parameters:
self
- New value for the property.
-
setEnforcementPointPath
public PolicyServiceInstanceStatistics.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Enforcement point path, forward slashes must be escaped using %2F. 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:
enforcementPointPath
- New value for the property.
-
setInstanceRuntimeStatistics
public PolicyServiceInstanceStatistics.Builder setInstanceRuntimeStatistics(java.util.List<InstanceRuntimeStatistic> instanceRuntimeStatistics)
Statistics for the data NICs for all the runtimes associated with this service instance. 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:
instanceRuntimeStatistics
- New value for the property.
-
setServiceInstanceId
public PolicyServiceInstanceStatistics.Builder setServiceInstanceId(java.lang.String serviceInstanceId)
PolicyServiceInsatnce path 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:
serviceInstanceId
- New value for the property.
-
build
public PolicyServiceInstanceStatistics build()
-
-