public static final class VendorTemplate.Builder
extends java.lang.Object
VendorTemplate
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
VendorTemplate . |
Modifier and Type | Method and Description |
---|---|
VendorTemplate |
build() |
VendorTemplate.Builder |
setAttributes(java.util.List<Attribute> attributes)
List of attributes specific to a partner for which the vendor template is
created.
|
VendorTemplate.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
VendorTemplate.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
VendorTemplate.Builder |
setDescription(java.lang.String description)
Description of this resource
|
VendorTemplate.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
VendorTemplate.Builder |
setFunctionality(java.lang.String functionality)
Possible values are:
VendorTemplate.FUNCTIONALITY_NG_FW VendorTemplate.FUNCTIONALITY_IDS_IPS VendorTemplate.FUNCTIONALITY_NET_MON VendorTemplate.FUNCTIONALITY_HCX VendorTemplate.FUNCTIONALITY_BYOD VendorTemplate.FUNCTIONALITY_EPP VendorTemplate.FUNCTIONALITY_MPS The
capabilities provided by the services. |
VendorTemplate.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
VendorTemplate.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
VendorTemplate.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
VendorTemplate.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
VendorTemplate.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
VendorTemplate.Builder |
setRedirectionAction(java.lang.String redirectionAction)
Possible values are:
VendorTemplate.REDIRECTION_ACTION_PUNT VendorTemplate.REDIRECTION_ACTION_COPY The
redirection action represents if the packet is exclusively redirected to the
service, or if a copy is forwarded to the service. |
VendorTemplate.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
VendorTemplate.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
VendorTemplate.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
VendorTemplate.Builder |
setSelf(SelfResourceLink self) |
VendorTemplate.Builder |
setServiceId(java.lang.String serviceId)
The service to which the vendor template belongs.
|
VendorTemplate.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
VendorTemplate.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
VendorTemplate.Builder |
setVendorTemplateKey(java.lang.String vendorTemplateKey)
Different VMs in data center can have Different protection levels as specified
by administrator in the policy.
|
public Builder()
VendorTemplate
.public VendorTemplate.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public VendorTemplate.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public VendorTemplate.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public VendorTemplate.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public VendorTemplate.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public VendorTemplate.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public VendorTemplate.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public VendorTemplate.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public VendorTemplate.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public VendorTemplate.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public VendorTemplate.Builder setDescription(java.lang.String description)
description
- New value for the property.public VendorTemplate.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public VendorTemplate.Builder setId(java.lang.String id)
id
- New value for the property.public VendorTemplate.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public VendorTemplate.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public VendorTemplate.Builder setAttributes(java.util.List<Attribute> attributes)
attributes
- New value for the property.public VendorTemplate.Builder setFunctionality(java.lang.String functionality)
functionality
- New value for the property.public VendorTemplate.Builder setRedirectionAction(java.lang.String redirectionAction)
redirectionAction
- New value for the property.public VendorTemplate.Builder setServiceId(java.lang.String serviceId)
serviceId
- New value for the property.public VendorTemplate.Builder setVendorTemplateKey(java.lang.String vendorTemplateKey)
vendorTemplateKey
- New value for the property.public VendorTemplate build()