public static final class TimeSeriesTypes.Spec.Builder
extends java.lang.Object
TimeSeriesTypes.Spec
.Constructor and Description |
---|
Builder(TimeSeriesTypes.Spec.ObjType objType,
long start,
long end)
Constructor with parameters for the required properties of
TimeSeriesTypes.Spec . |
Modifier and Type | Method and Description |
---|---|
TimeSeriesTypes.Spec |
build() |
TimeSeriesTypes.Spec.Builder |
setCluster(java.lang.String cluster)
Cluster identifier for queries for a cluster.
|
TimeSeriesTypes.Spec.Builder |
setNamespace(java.lang.String namespace)
Namespace name for queries for a namespace.
|
TimeSeriesTypes.Spec.Builder |
setPod(TimeSeriesTypes.PodIdentifier pod)
Pod Identifier for queries on an individual pod.
|
public Builder(TimeSeriesTypes.Spec.ObjType objType, long start, long end)
TimeSeriesTypes.Spec
.public TimeSeriesTypes.Spec.Builder setPod(TimeSeriesTypes.PodIdentifier pod)
getObjType()
is TimeSeriesTypes.Spec.ObjType.POD
.pod
- New value for the property.public TimeSeriesTypes.Spec.Builder setNamespace(java.lang.String namespace)
getObjType()
is TimeSeriesTypes.Spec.ObjType.NAMESPACE
.namespace
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: com.vmware.vcenter.namespaces.Instance
. When methods return a value of this
class as a return value, the property will be an identifier for the resource
type: com.vmware.vcenter.namespaces.Instance
.public TimeSeriesTypes.Spec.Builder setCluster(java.lang.String cluster)
getObjType()
is TimeSeriesTypes.Spec.ObjType.CLUSTER
.cluster
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: ClusterComputeResource
. When methods
return a value of this class as a return value, the property will be an
identifier for the resource type: ClusterComputeResource
.public TimeSeriesTypes.Spec build()