public static final class FirewallSection.Builder
extends java.lang.Object
FirewallSection
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
FirewallSection . |
Modifier and Type | Method and Description |
---|---|
FirewallSection |
build() |
FirewallSection.Builder |
setAppliedTos(java.util.List<ResourceReference> appliedTos)
List of objects where the rules in this section will be enforced.
|
FirewallSection.Builder |
setAutoplumbed(java.lang.Boolean autoplumbed)
This flag indicates whether it is an auto-plumbed section that is associated to
a LogicalRouter.
|
FirewallSection.Builder |
setCategory(java.lang.String category)
Category from policy framework.
|
FirewallSection.Builder |
setComments(java.lang.String comments)
Comments for section lock/unlock.
|
FirewallSection.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.
|
FirewallSection.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.
|
FirewallSection.Builder |
setDescription(java.lang.String description)
Description of this resource
|
FirewallSection.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
FirewallSection.Builder |
setEnforcedOn(java.lang.String enforcedOn)
This attribute represents enforcement point of firewall section.
|
FirewallSection.Builder |
setFirewallSchedule(ResourceReference firewallSchedule) |
FirewallSection.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
FirewallSection.Builder |
setIsDefault(java.lang.Boolean isDefault)
It is a boolean flag which reflects whether a distributed service section is
default section or not.
|
FirewallSection.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.
|
FirewallSection.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.
|
FirewallSection.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
FirewallSection.Builder |
setLocked(java.lang.Boolean locked)
Section is locked/unlocked.
|
FirewallSection.Builder |
setLockModifiedBy(java.lang.String lockModifiedBy)
ID of the user who last modified the lock for the section.
|
FirewallSection.Builder |
setLockModifiedTime(java.lang.Long lockModifiedTime)
Section locked/unlocked time in epoch milliseconds.
|
FirewallSection.Builder |
setPriority(java.lang.Long priority)
Priority of current section with respect to other sections.
|
FirewallSection.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.
|
FirewallSection.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
FirewallSection.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
FirewallSection.Builder |
setRuleCount(java.lang.Long ruleCount)
Number of rules in this section.
|
FirewallSection.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.
|
FirewallSection.Builder |
setSectionType(java.lang.String sectionType)
Possible values are:
FirewallSection.SECTION_TYPE_LAYER2 FirewallSection.SECTION_TYPE_LAYER3 FirewallSection.SECTION_TYPE_L3REDIRECT FirewallSection.SECTION_TYPE_IDS Type of the
rules which a section can contain. |
FirewallSection.Builder |
setSelf(SelfResourceLink self) |
FirewallSection.Builder |
setStateful(java.lang.Boolean stateful)
Stateful or Stateless nature of distributed service section is enforced on all
rules inside the section.
|
FirewallSection.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.
|
FirewallSection.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
FirewallSection.Builder |
setTcpStrict(java.lang.Boolean tcpStrict)
If TCP strict is enabled on a section and a packet matches rule in it, the
following check will be performed.
|
public Builder()
FirewallSection
.public FirewallSection.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public FirewallSection.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public FirewallSection.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public FirewallSection.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public FirewallSection.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public FirewallSection.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public FirewallSection.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public FirewallSection.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public FirewallSection.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public FirewallSection.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public FirewallSection.Builder setDescription(java.lang.String description)
description
- New value for the property.public FirewallSection.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public FirewallSection.Builder setId(java.lang.String id)
id
- New value for the property.public FirewallSection.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public FirewallSection.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public FirewallSection.Builder setAppliedTos(java.util.List<ResourceReference> appliedTos)
appliedTos
- New value for the property.public FirewallSection.Builder setIsDefault(java.lang.Boolean isDefault)
isDefault
- New value for the property.public FirewallSection.Builder setRuleCount(java.lang.Long ruleCount)
ruleCount
- New value for the property.public FirewallSection.Builder setSectionType(java.lang.String sectionType)
sectionType
- New value for the property.public FirewallSection.Builder setStateful(java.lang.Boolean stateful)
stateful
- New value for the property.public FirewallSection.Builder setAutoplumbed(java.lang.Boolean autoplumbed)
autoplumbed
- New value for the property.public FirewallSection.Builder setCategory(java.lang.String category)
category
- New value for the property.public FirewallSection.Builder setComments(java.lang.String comments)
comments
- New value for the property.public FirewallSection.Builder setEnforcedOn(java.lang.String enforcedOn)
enforcedOn
- New value for the property.public FirewallSection.Builder setFirewallSchedule(ResourceReference firewallSchedule)
firewallSchedule
- New value for the property.public FirewallSection.Builder setLockModifiedBy(java.lang.String lockModifiedBy)
lockModifiedBy
- New value for the property.public FirewallSection.Builder setLockModifiedTime(java.lang.Long lockModifiedTime)
lockModifiedTime
- New value for the property.public FirewallSection.Builder setLocked(java.lang.Boolean locked)
locked
- New value for the property.public FirewallSection.Builder setPriority(java.lang.Long priority)
priority
- New value for the property.public FirewallSection.Builder setTcpStrict(java.lang.Boolean tcpStrict)
tcpStrict
- New value for the property.public FirewallSection build()