public static final class PolicyAttributes.Builder
extends java.lang.Object
PolicyAttributes
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyAttributes . |
Modifier and Type | Method and Description |
---|---|
PolicyAttributes |
build() |
PolicyAttributes.Builder |
setAttributeSource(java.lang.String attributeSource)
Possible values are:
PolicyAttributes.ATTRIBUTE_SOURCE_SYSTEM
PolicyAttributes.ATTRIBUTE_SOURCE_CUSTOM
Source of attribute value i.e whether system defined or custom value |
PolicyAttributes.Builder |
setCustomUrlPartialMatch(java.lang.Boolean customUrlPartialMatch)
True value for this flag will be treated as a partial match for custom url
|
PolicyAttributes.Builder |
setDatatype(java.lang.String datatype)
Possible values are:
PolicyAttributes.DATATYPE_STRING
Datatype for attribute |
PolicyAttributes.Builder |
setDescription(java.lang.String description)
Description for attribute value
|
PolicyAttributes.Builder |
setIsALGType(java.lang.Boolean isALGType)
Describes whether the APP_ID value is ALG type or not.
|
PolicyAttributes.Builder |
setKey(java.lang.String key)
Possible values are:
PolicyAttributes.KEY_APP_ID PolicyAttributes.KEY_DOMAIN_NAME PolicyAttributes.KEY_URL_CATEGORY PolicyAttributes.KEY_URL_REPUTATION
PolicyAttributes.KEY_CUSTOM_URL
URL_Reputation is currently not available. |
PolicyAttributes.Builder |
setMetadata(java.util.List<ContextProfileAttributesMetadata> metadata)
This is optional part that can hold additional data about the attribute
key/values.
|
PolicyAttributes.Builder |
setSubAttributes(java.util.List<PolicySubAttributes> subAttributes)
Reference to sub attributes for the attribute
|
PolicyAttributes.Builder |
setValue(java.util.List<java.lang.String> value)
Multiple attribute values can be specified as elements of array.
|
public Builder()
PolicyAttributes
.public PolicyAttributes.Builder setAttributeSource(java.lang.String attributeSource)
attributeSource
- New value for the property.public PolicyAttributes.Builder setCustomUrlPartialMatch(java.lang.Boolean customUrlPartialMatch)
customUrlPartialMatch
- New value for the property.public PolicyAttributes.Builder setDatatype(java.lang.String datatype)
datatype
- New value for the property.public PolicyAttributes.Builder setDescription(java.lang.String description)
description
- New value for the property.public PolicyAttributes.Builder setIsALGType(java.lang.Boolean isALGType)
isALGType
- New value for the property.public PolicyAttributes.Builder setKey(java.lang.String key)
key
- New value for the property.public PolicyAttributes.Builder setMetadata(java.util.List<ContextProfileAttributesMetadata> metadata)
metadata
- New value for the property.public PolicyAttributes.Builder setSubAttributes(java.util.List<PolicySubAttributes> subAttributes)
subAttributes
- New value for the property.public PolicyAttributes.Builder setValue(java.util.List<java.lang.String> value)
value
- New value for the property.public PolicyAttributes build()