Class CreateSecurityGroupRuleOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String securityGroupId,
                       SecurityGroupRulePrototype securityGroupRulePrototype)
        Instantiates a new builder with required properties.
        Parameters:
        securityGroupId - the securityGroupId
        securityGroupRulePrototype - the securityGroupRulePrototype
    • Method Detail

      • build

        public CreateSecurityGroupRuleOptions build()
        Builds a CreateSecurityGroupRuleOptions.
        Returns:
        the new CreateSecurityGroupRuleOptions instance
      • securityGroupId

        public CreateSecurityGroupRuleOptions.Builder securityGroupId​(String securityGroupId)
        Set the securityGroupId.
        Parameters:
        securityGroupId - the securityGroupId
        Returns:
        the CreateSecurityGroupRuleOptions builder
      • securityGroupRulePrototype

        public CreateSecurityGroupRuleOptions.Builder securityGroupRulePrototype​(SecurityGroupRulePrototype securityGroupRulePrototype)
        Set the securityGroupRulePrototype.
        Parameters:
        securityGroupRulePrototype - the securityGroupRulePrototype
        Returns:
        the CreateSecurityGroupRuleOptions builder