org.openstack4j.model.network.ext.builder.FirewallPolicyUpdateBuilder Maven / Gradle / Ivy
The newest version!
package org.openstack4j.model.network.ext.builder;
import java.util.List;
import org.openstack4j.common.Buildable.Builder;
import org.openstack4j.model.network.ext.FirewallPolicyUpdate;
/**
* A Builder to Update Firewall Policy of FwaaS.
*
* @author Vishvesh Deshmukh
*/
public interface FirewallPolicyUpdateBuilder extends Builder {
/**
* @param name : Human readable name for the FirewallPolicy (255 characters limit). Does not have to be unique.
* @return FirewallPolicyUpdateBuilder
*/
public FirewallPolicyUpdateBuilder name(String name);
/**
* @param description : Human readable description for the FirewallPolicy (1024 characters limit).
* @return FirewallPolicyUpdateBuilder
*/
public FirewallPolicyUpdateBuilder description(String description);
/**
* @param shared : When set to True makes this FirewallPolicy visible to tenants other
* than its owner, and can be used in FirewallPolicy not owned by its tenant.
* @return FirewallPolicyUpdateBuilder
*/
public FirewallPolicyUpdateBuilder shared(Boolean shared);
/**
* @param audited : When set to True by the policy owner indicates that the firewall policy has been audited.
* This attribute is meant to aid in the firewall policy audit workflows.
* Each time the firewall policy or the associated firewall rules are changed,
* this attribute will be set to False and will have to be explicitly set
* to True through an update operation.
* @return FirewallPolicyUpdateBuilder
*/
public FirewallPolicyUpdateBuilder audited(Boolean audited);
/**
* @param firewallRules(UUID)List : This is an ordered list of firewall rule uuids.
* The firewall applies the rules in the order in which they appear in this list.
* @return FirewallPolicyUpdateBuilder
*/
public FirewallPolicyUpdateBuilder firewallRules(List ruleIdList);
}