public static final class ServiceInsertionSectionRuleList.Builder
extends java.lang.Object
ServiceInsertionSectionRuleList
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ServiceInsertionSectionRuleList . |
Modifier and Type | Method and Description |
---|---|
ServiceInsertionSectionRuleList |
build() |
ServiceInsertionSectionRuleList.Builder |
setAppliedTos(java.util.List<ResourceReference> appliedTos)
List of objects where the rules in this section will be enforced.
|
ServiceInsertionSectionRuleList.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.
|
ServiceInsertionSectionRuleList.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.
|
ServiceInsertionSectionRuleList.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ServiceInsertionSectionRuleList.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ServiceInsertionSectionRuleList.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
ServiceInsertionSectionRuleList.Builder |
setIsDefault(java.lang.Boolean isDefault)
It is a boolean flag which reflects whether a distributed service section is
default section or not.
|
ServiceInsertionSectionRuleList.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.
|
ServiceInsertionSectionRuleList.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.
|
ServiceInsertionSectionRuleList.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ServiceInsertionSectionRuleList.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.
|
ServiceInsertionSectionRuleList.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ServiceInsertionSectionRuleList.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
ServiceInsertionSectionRuleList.Builder |
setRuleCount(java.lang.Long ruleCount)
Number of rules in this section.
|
ServiceInsertionSectionRuleList.Builder |
setRules(java.util.List<ServiceInsertionRule> rules)
List of Service Insertion rules in the section.
|
ServiceInsertionSectionRuleList.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.
|
ServiceInsertionSectionRuleList.Builder |
setSectionType(java.lang.String sectionType)
Possible values are:
ServiceInsertionSectionRuleList.SECTION_TYPE_LAYER2
ServiceInsertionSectionRuleList.SECTION_TYPE_LAYER3
ServiceInsertionSectionRuleList.SECTION_TYPE_L3REDIRECT
ServiceInsertionSectionRuleList.SECTION_TYPE_IDS
Type of the rules which a section can contain. |
ServiceInsertionSectionRuleList.Builder |
setSelf(SelfResourceLink self) |
ServiceInsertionSectionRuleList.Builder |
setStateful(java.lang.Boolean stateful)
Stateful or Stateless nature of distributed service section is enforced on all
rules inside the section.
|
ServiceInsertionSectionRuleList.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.
|
ServiceInsertionSectionRuleList.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
ServiceInsertionSectionRuleList.Builder |
setTcpStrict(java.lang.Boolean tcpStrict)
Ensures that a three way TCP handshake is done before the data packets are sent
if the value is set to be true.
|
public Builder()
ServiceInsertionSectionRuleList
.public ServiceInsertionSectionRuleList.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ServiceInsertionSectionRuleList.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ServiceInsertionSectionRuleList.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ServiceInsertionSectionRuleList.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public ServiceInsertionSectionRuleList.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public ServiceInsertionSectionRuleList.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public ServiceInsertionSectionRuleList.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public ServiceInsertionSectionRuleList.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public ServiceInsertionSectionRuleList.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public ServiceInsertionSectionRuleList.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public ServiceInsertionSectionRuleList.Builder setDescription(java.lang.String description)
description
- New value for the property.public ServiceInsertionSectionRuleList.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ServiceInsertionSectionRuleList.Builder setId(java.lang.String id)
id
- New value for the property.public ServiceInsertionSectionRuleList.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ServiceInsertionSectionRuleList.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ServiceInsertionSectionRuleList.Builder setAppliedTos(java.util.List<ResourceReference> appliedTos)
appliedTos
- New value for the property.public ServiceInsertionSectionRuleList.Builder setIsDefault(java.lang.Boolean isDefault)
isDefault
- New value for the property.public ServiceInsertionSectionRuleList.Builder setRuleCount(java.lang.Long ruleCount)
ruleCount
- New value for the property.public ServiceInsertionSectionRuleList.Builder setSectionType(java.lang.String sectionType)
sectionType
- New value for the property.public ServiceInsertionSectionRuleList.Builder setStateful(java.lang.Boolean stateful)
stateful
- New value for the property.public ServiceInsertionSectionRuleList.Builder setTcpStrict(java.lang.Boolean tcpStrict)
tcpStrict
- New value for the property.public ServiceInsertionSectionRuleList.Builder setRules(java.util.List<ServiceInsertionRule> rules)
rules
- New value for the property.public ServiceInsertionSectionRuleList build()