public static final class ResourceAddressesTypes.FilterSpec.Builder
extends java.lang.Object
ResourceAddressesTypes.FilterSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ResourceAddressesTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
ResourceAddressesTypes.FilterSpec |
build() |
ResourceAddressesTypes.FilterSpec.Builder |
setPage(java.lang.String page)
The
getPage() field is used to retrieve paged data for large result
sets. |
ResourceAddressesTypes.FilterSpec.Builder |
setResources(java.util.List<java.lang.String> resources)
Resources to include in the query.
|
ResourceAddressesTypes.FilterSpec.Builder |
setTypes(java.util.List<java.lang.String> types)
List of Resource types.
|
public Builder()
ResourceAddressesTypes.FilterSpec
.public ResourceAddressesTypes.FilterSpec.Builder setTypes(java.util.List<java.lang.String> types)
null
the result will not be filtered by resource types.types
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: com.vmware.vstats.model.RsrcType
. When methods return a value of this class as
a return value, the property will contain identifiers for the resource type:
com.vmware.vstats.model.RsrcType
.public ResourceAddressesTypes.FilterSpec.Builder setResources(java.util.List<java.lang.String> resources)
type.<resource
type>[.<scheme>]=<resource id>
resource type specifies the type
of resource for example VM
, VCPU
etc.
scheme is
an optional element to disambiguate the resource as needed for example to
differentiate managed object id from uuid
.
resource id
is the unique resource identifier value for example: vm-41
Example values include: type.VM=vm-41
, type.VCPU=1
, type.VM.moid=vm-41
null
the result will not be filtered for specific resources.resources
- New value for the property.public ResourceAddressesTypes.FilterSpec.Builder setPage(java.lang.String page)
getPage()
field is used to retrieve paged data for large result
sets. It is an opaque paging token obtained from a prior call to the ResourceAddresses.list(com.vmware.vstats.ResourceAddressesTypes.FilterSpec)
API. Warning: This property is
available as Technology Preview. These are early access APIs provided to test,
automate and provide feedback on the feature. Since this can change based on
feedback, VMware does not guarantee backwards compatibility and recommends
against using them in production environments. Some Technology Preview APIs
might only be applicable to specific environments.
when Set
a follow up page in a paged result set will be
delivered.page
- New value for the property.public ResourceAddressesTypes.FilterSpec build()