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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder(String networkAclId, NetworkACLRulePrototype networkAclRulePrototype)
      Instantiates a new builder with required properties.
      Parameters:
      networkAclId - the networkAclId
      networkAclRulePrototype - the networkAclRulePrototype
  • Method Details

    • 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