Class NetworkACLRulePatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.NetworkACLRulePatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the action.before
(NetworkACLRuleBeforePatch before) Set the before.build()
Builds a NetworkACLRulePatch.code
(long code) Set the code.destination
(String destination) Set the destination.destinationPortMax
(long destinationPortMax) Set the destinationPortMax.destinationPortMin
(long destinationPortMin) Set the destinationPortMin.Set the direction.Set the name.Set the source.sourcePortMax
(long sourcePortMax) Set the sourcePortMax.sourcePortMin
(long sourcePortMin) Set the sourcePortMin.type
(long type) Set the type.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a NetworkACLRulePatch.- Returns:
- the new NetworkACLRulePatch instance
-
action
Set the action.- Parameters:
action
- the action- Returns:
- the NetworkACLRulePatch builder
-
before
Set the before.- Parameters:
before
- the before- Returns:
- the NetworkACLRulePatch builder
-
code
Set the code.- Parameters:
code
- the code- Returns:
- the NetworkACLRulePatch builder
-
destination
Set the destination.- Parameters:
destination
- the destination- Returns:
- the NetworkACLRulePatch builder
-
destinationPortMax
Set the destinationPortMax.- Parameters:
destinationPortMax
- the destinationPortMax- Returns:
- the NetworkACLRulePatch builder
-
destinationPortMin
Set the destinationPortMin.- Parameters:
destinationPortMin
- the destinationPortMin- Returns:
- the NetworkACLRulePatch builder
-
direction
Set the direction.- Parameters:
direction
- the direction- Returns:
- the NetworkACLRulePatch builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the NetworkACLRulePatch builder
-
source
Set the source.- Parameters:
source
- the source- Returns:
- the NetworkACLRulePatch builder
-
sourcePortMax
Set the sourcePortMax.- Parameters:
sourcePortMax
- the sourcePortMax- Returns:
- the NetworkACLRulePatch builder
-
sourcePortMin
Set the sourcePortMin.- Parameters:
sourcePortMin
- the sourcePortMin- Returns:
- the NetworkACLRulePatch builder
-
type
Set the type.- Parameters:
type
- the type- Returns:
- the NetworkACLRulePatch builder
-