Package com.ibm.cloud.is.vpc.v1.model
Class CreateNetworkAclRuleOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateNetworkAclRuleOptions.Builder
-
- Enclosing class:
- CreateNetworkAclRuleOptions
public static class CreateNetworkAclRuleOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(String networkAclId, NetworkACLRulePrototype networkAclRulePrototype)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateNetworkAclRuleOptions
build()
Builds a CreateNetworkAclRuleOptions.CreateNetworkAclRuleOptions.Builder
networkAclId(String networkAclId)
Set the networkAclId.CreateNetworkAclRuleOptions.Builder
networkAclRulePrototype(NetworkACLRulePrototype networkAclRulePrototype)
Set the networkAclRulePrototype.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String networkAclId, NetworkACLRulePrototype networkAclRulePrototype)
Instantiates a new builder with required properties.- Parameters:
networkAclId
- the networkAclIdnetworkAclRulePrototype
- the networkAclRulePrototype
-
-
Method Detail
-
build
public CreateNetworkAclRuleOptions build()
Builds a CreateNetworkAclRuleOptions.- Returns:
- the new CreateNetworkAclRuleOptions instance
-
networkAclId
public CreateNetworkAclRuleOptions.Builder networkAclId(String networkAclId)
Set the networkAclId.- Parameters:
networkAclId
- the networkAclId- Returns:
- the CreateNetworkAclRuleOptions builder
-
networkAclRulePrototype
public CreateNetworkAclRuleOptions.Builder networkAclRulePrototype(NetworkACLRulePrototype networkAclRulePrototype)
Set the networkAclRulePrototype.- Parameters:
networkAclRulePrototype
- the networkAclRulePrototype- Returns:
- the CreateNetworkAclRuleOptions builder
-
-