public final class NSGroupTagExpression
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
NSGroupTagExpression.Builder
Builder class for
NSGroupTagExpression . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
_TYPE_IDENTIFIER
Identifier denoting this class, when it is used in polymorphic context.
|
static java.lang.String |
SCOPE_OP_EQUALS |
static java.lang.String |
TAG_OP_CONTAINS |
static java.lang.String |
TAG_OP_ENDSWITH |
static java.lang.String |
TAG_OP_EQUALS |
static java.lang.String |
TAG_OP_STARTSWITH |
static java.lang.String |
TARGET_TYPE_IPSET |
static java.lang.String |
TARGET_TYPE_LOGICALPORT |
static java.lang.String |
TARGET_TYPE_LOGICALSWITCH |
static java.lang.String |
TARGET_TYPE_VIRTUALMACHINE |
Modifier | Constructor and Description |
---|---|
|
NSGroupTagExpression()
Default constructor.
|
protected |
NSGroupTagExpression(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static NSGroupTagExpression |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static NSGroupTagExpression |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceType()
Possible values are:
NSGroupExpression.RESOURCE_TYPE_NSGROUPSIMPLEEXPRESSION
NSGroupExpression.RESOURCE_TYPE_NSGROUPCOMPLEXEXPRESSION
NSGroupExpression.RESOURCE_TYPE_NSGROUPTAGEXPRESSION
The value of this property is automatically populated to "NSGroupTagExpression" . |
java.lang.String |
getScope()
The tag.scope attribute of the object
|
java.lang.String |
getScopeOp()
Possible values are:
SCOPE_OP_EQUALS Operator
of the scope expression eg- tag.scope = \"S1\". |
java.lang.String |
getTag()
The tag.tag attribute of the object
|
java.lang.String |
getTagOp()
Possible values are:
TAG_OP_EQUALS TAG_OP_CONTAINS TAG_OP_STARTSWITH TAG_OP_ENDSWITH
Target_type VirtualMachine supports all specified operators for tag expression
while LogicalSwitch and LogicalPort supports only EQUALS operator. |
java.lang.String |
getTargetType()
Possible values are:
TARGET_TYPE_LOGICALSWITCH
TARGET_TYPE_LOGICALPORT
TARGET_TYPE_VIRTUALMACHINE
TARGET_TYPE_IPSET
Type of the resource on which this expression is evaluated |
int |
hashCode() |
void |
setScope(java.lang.String scope)
The tag.scope attribute of the object
|
void |
setScopeOp(java.lang.String scopeOp)
Possible values are:
SCOPE_OP_EQUALS Operator
of the scope expression eg- tag.scope = \"S1\". |
void |
setTag(java.lang.String tag)
The tag.tag attribute of the object
|
void |
setTagOp(java.lang.String tagOp)
Possible values are:
TAG_OP_EQUALS TAG_OP_CONTAINS TAG_OP_STARTSWITH TAG_OP_ENDSWITH
Target_type VirtualMachine supports all specified operators for tag expression
while LogicalSwitch and LogicalPort supports only EQUALS operator. |
void |
setTargetType(java.lang.String targetType)
Possible values are:
TARGET_TYPE_LOGICALSWITCH
TARGET_TYPE_LOGICALPORT
TARGET_TYPE_VIRTUALMACHINE
TARGET_TYPE_IPSET
Type of the resource on which this expression is evaluated |
java.lang.String |
toString() |
public static final java.lang.String _TYPE_IDENTIFIER
This value should be assigned to the property which is used to discriminate the actual type used in the polymorphic context.
public static final java.lang.String SCOPE_OP_EQUALS
public static final java.lang.String TAG_OP_EQUALS
public static final java.lang.String TAG_OP_CONTAINS
public static final java.lang.String TAG_OP_STARTSWITH
public static final java.lang.String TAG_OP_ENDSWITH
public static final java.lang.String TARGET_TYPE_LOGICALSWITCH
public static final java.lang.String TARGET_TYPE_LOGICALPORT
public static final java.lang.String TARGET_TYPE_VIRTUALMACHINE
public static final java.lang.String TARGET_TYPE_IPSET
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public NSGroupTagExpression()
protected NSGroupTagExpression(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getScope()
public void setScope(java.lang.String scope)
scope
- New value for the property.public java.lang.String getScopeOp()
public void setScopeOp(java.lang.String scopeOp)
scopeOp
- New value for the property.public java.lang.String getTag()
public void setTag(java.lang.String tag)
tag
- New value for the property.public java.lang.String getTagOp()
public void setTagOp(java.lang.String tagOp)
tagOp
- New value for the property.public java.lang.String getTargetType()
public void setTargetType(java.lang.String targetType)
targetType
- New value for the property.public java.lang.String getResourceType()
NSGroupExpression.RESOURCE_TYPE_NSGROUPSIMPLEEXPRESSION
NSGroupExpression.RESOURCE_TYPE_NSGROUPCOMPLEXEXPRESSION
NSGroupExpression.RESOURCE_TYPE_NSGROUPTAGEXPRESSION
"NSGroupTagExpression"
.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static NSGroupTagExpression _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static NSGroupTagExpression _newInstance2(com.vmware.vapi.data.StructValue structValue)