public static final class TagUsageTypes.FilterSpec.Builder
extends java.lang.Object
TagUsageTypes.FilterSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
TagUsageTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
TagUsageTypes.FilterSpec |
build() |
TagUsageTypes.FilterSpec.Builder |
setPolicies(java.util.Set<java.lang.String> policies)
Identifiers that compute policies must have to match the filter.
|
TagUsageTypes.FilterSpec.Builder |
setTags(java.util.Set<java.lang.String> tags)
Identifiers that tags must have to match the filter.
|
TagUsageTypes.FilterSpec.Builder |
setTagTypes(java.util.Set<java.lang.String> tagTypes)
Identifiers that tag types must have to match the filter.
|
public Builder()
TagUsageTypes.FilterSpec
.public TagUsageTypes.FilterSpec.Builder setPolicies(java.util.Set<java.lang.String> policies)
null
or empty, then tags used by any policy match this filter.policies
- 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.vcenter.compute.Policy
. When methods return a value of this class as
a return value, the property will contain identifiers for the resource type:
com.vmware.vcenter.compute.Policy
.public TagUsageTypes.FilterSpec.Builder setTags(java.util.Set<java.lang.String> tags)
null
or empty, then tags with any tag identifier match this filter.tags
- 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.cis.tagging.Tag
.
When methods return a value of this class as a return value, the property will
contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.public TagUsageTypes.FilterSpec.Builder setTagTypes(java.util.Set<java.lang.String> tagTypes)
null
or empty, then tags of any type match this filter.tagTypes
- 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.vapi.resource
.
When methods return a value of this class as a return value, the property will
contain identifiers for the resource type: com.vmware.vapi.resource
.public TagUsageTypes.FilterSpec build()