Class CreateNetworkAclRuleOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateNetworkAclRuleOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(String networkAclId, NetworkACLRulePrototype networkAclRulePrototype) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a CreateNetworkAclRuleOptions.networkAclId(String networkAclId) Set the networkAclId.networkAclRulePrototype(NetworkACLRulePrototype networkAclRulePrototype) Set the networkAclRulePrototype.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
networkAclId- the networkAclIdnetworkAclRulePrototype- the networkAclRulePrototype
-
-
Method Details
-
build
Builds a CreateNetworkAclRuleOptions.- Returns:
- the new CreateNetworkAclRuleOptions instance
-
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
-