Package com.vmware.nsx_policy.model
Class L7AccessAttributes.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L7AccessAttributes.Builder
-
- Enclosing class:
- L7AccessAttributes
public static final class L7AccessAttributes.Builder extends java.lang.Object
Builder class forL7AccessAttributes
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL7AccessAttributes
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L7AccessAttributes
build()
L7AccessAttributes.Builder
setAttributeSource(java.lang.String attributeSource)
Possible values are:L7AccessAttributes.ATTRIBUTE_SOURCE_SYSTEM
L7AccessAttributes.ATTRIBUTE_SOURCE_CUSTOM
Source of attribute value i.e whether system defined or custom valueL7AccessAttributes.Builder
setCustomUrlPartialMatch(java.lang.Boolean customUrlPartialMatch)
True value for this flag will be treated as a partial match for custom urlL7AccessAttributes.Builder
setDatatype(java.lang.String datatype)
Possible values are:L7AccessAttributes.DATATYPE_STRING
Datatype for attributeL7AccessAttributes.Builder
setDescription(java.lang.String description)
Description for attribute valueL7AccessAttributes.Builder
setIsALGType(java.lang.Boolean isALGType)
Describes whether the APP_ID value is ALG type or not.L7AccessAttributes.Builder
setKey(java.lang.String key)
Possible values are:L7AccessAttributes.KEY_APP_ID
L7AccessAttributes.KEY_DOMAIN_NAME
L7AccessAttributes.KEY_URL_CATEGORY
L7AccessAttributes.KEY_URL_REPUTATION
L7AccessAttributes.KEY_CUSTOM_URL
URL_Reputation is currently not available.L7AccessAttributes.Builder
setMetadata(java.util.List<ContextProfileAttributesMetadata> metadata)
This is optional part that can hold additional data about the attribute key/values.L7AccessAttributes.Builder
setSubAttributes(java.util.List<PolicySubAttributes> subAttributes)
Reference to sub attributes for the attributeL7AccessAttributes.Builder
setValue(java.util.List<java.lang.String> value)
Multiple attribute values can be specified as elements of array.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL7AccessAttributes
.
-
-
Method Detail
-
setAttributeSource
public L7AccessAttributes.Builder setAttributeSource(java.lang.String attributeSource)
Possible values are: Source of attribute value i.e whether system defined or custom value- Parameters:
attributeSource
- New value for the property.
-
setCustomUrlPartialMatch
public L7AccessAttributes.Builder setCustomUrlPartialMatch(java.lang.Boolean customUrlPartialMatch)
True value for this flag will be treated as a partial match for custom url- Parameters:
customUrlPartialMatch
- New value for the property.
-
setDatatype
public L7AccessAttributes.Builder setDatatype(java.lang.String datatype)
Possible values are: Datatype for attribute- Parameters:
datatype
- New value for the property.
-
setDescription
public L7AccessAttributes.Builder setDescription(java.lang.String description)
Description for attribute value- Parameters:
description
- New value for the property.
-
setIsALGType
public L7AccessAttributes.Builder setIsALGType(java.lang.Boolean isALGType)
Describes whether the APP_ID value is ALG type or not.- Parameters:
isALGType
- New value for the property.
-
setKey
public L7AccessAttributes.Builder setKey(java.lang.String key)
Possible values are: URL_Reputation is currently not available. Please do not use it in Attribute Key while creating context profile- Parameters:
key
- New value for the property.
-
setMetadata
public L7AccessAttributes.Builder setMetadata(java.util.List<ContextProfileAttributesMetadata> metadata)
This is optional part that can hold additional data about the attribute key/values. Example - For URL CATEGORY key , it specified super category for url category value. This is generic array and can hold multiple meta information about key/values in future- Parameters:
metadata
- New value for the property.
-
setSubAttributes
public L7AccessAttributes.Builder setSubAttributes(java.util.List<PolicySubAttributes> subAttributes)
Reference to sub attributes for the attribute- Parameters:
subAttributes
- New value for the property.
-
setValue
public L7AccessAttributes.Builder setValue(java.util.List<java.lang.String> value)
Multiple attribute values can be specified as elements of array.- Parameters:
value
- New value for the property.
-
build
public L7AccessAttributes build()
-
-