All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.model.network.builder.TrunkBuilder Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package org.openstack4j.model.network.builder;

import java.util.List;

import org.openstack4j.common.Buildable.Builder;
import org.openstack4j.model.identity.v3.Tenant;
import org.openstack4j.model.network.Trunk;
import org.openstack4j.openstack.networking.domain.NeutronTrunkSubport;

/**
 * A builder which creates a network trunk
 *
 * @author Kashyap Jha
 */
public interface TrunkBuilder extends Builder {

    /**
     * Sets the name
     */
    TrunkBuilder name(String name);

    /**
     * Sets the tenant
     */
    TrunkBuilder tenant(Tenant tenant);

    /**
     * Sets the tenantId
     */
    TrunkBuilder tenantId(String tenantId);

    /**
     * Sets the parent port
     */
    TrunkBuilder parentPort(String parentPortId);

    /**
     * Sets the description
     */
    TrunkBuilder description(String description);

    /**
     * Sets the admin state
     */
    TrunkBuilder adminState(boolean adminStateUp);

    /**
     * Sets the subports
     */
    TrunkBuilder trunkSubports(List trunkSubports);

    /**
     * Sets the trunk id
     */
    TrunkBuilder trunkId(String trunkId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy