com.huawei.openstack4j.model.network.ext.FirewallUpdate Maven / Gradle / Ivy
/*******************************************************************************
* Copyright 2016 ContainX and OpenStack4j
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*******************************************************************************/
package com.huawei.openstack4j.model.network.ext;
import com.huawei.openstack4j.common.Buildable;
import com.huawei.openstack4j.model.ModelEntity;
import com.huawei.openstack4j.model.network.ext.builder.FirewallUpdateBuilder;
/**
* A Builder to Update Firewall of FwaaS
*
* @author Vishvesh Deshmukh
*/
public interface FirewallUpdate extends ModelEntity, Buildable {
/**
* @return tenantId : Owner of the Firewall. Only an administrative user can
* specify a tenant ID other than its own.
*/
public String getTenantId();
/**
* @return tenantId : Human readable name for the firewall (255 characters limit). Does not have to be unique.
*/
public String getName();
/**
* @return description : Human readable description for the firewall (1024 characters limit).
*/
public String getDescription();
/**
* @return adminstateup : The administrative state of the firewall,
* which is up (true) or down (false).
*/
public Boolean isAdminStateUp();
/**
* @return shared : When set to True makes this firewall rule visible to tenants other
* than its owner, and can be used in firewall policies not owned by its tenant.
*/
public Boolean isShared();
/**
* @return policyid : The firewall policy uuid that this firewall is associated with.
* This firewall will implement the rules contained in the firewall policy represented by this uuid.
*/
public String getPolicy();
}