org.jclouds.cloudstack.options
Class ListNetworkOfferingsOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.ListNetworkOfferingsOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class ListNetworkOfferingsOptions
- extends BaseHttpRequestOptions
Options used to control what network offerings are returned
- Author:
- Adrian Cole
- See Also:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final ListNetworkOfferingsOptions NONE
ListNetworkOfferingsOptions
public ListNetworkOfferingsOptions()
zoneId
public ListNetworkOfferingsOptions zoneId(long zoneId)
- Parameters:
zoneId
- list network offerings available for network creation in specific zone
id
public ListNetworkOfferingsOptions id(long id)
- Parameters:
id
- the ID of the network offering
name
public ListNetworkOfferingsOptions name(String name)
- Parameters:
name
- the network offering name
displayText
public ListNetworkOfferingsOptions displayText(String displayText)
- Parameters:
displayText
- network offerings by display text
availability
public ListNetworkOfferingsOptions availability(NetworkOfferingAvailabilityType availability)
- Parameters:
availability
- the availability of network offering. Default value is Required
isDefault
public ListNetworkOfferingsOptions isDefault(boolean isDefault)
- Parameters:
isDefault
- true if network offering is default, false otherwise
isShared
public ListNetworkOfferingsOptions isShared(boolean isShared)
- Parameters:
isShared
- true if network offering is shared, false otherwise
specifyVLAN
public ListNetworkOfferingsOptions specifyVLAN(boolean specifyVLAN)
- Parameters:
specifyVLAN
- True if we allow the network supports vlan, false otherwise. If
you create network using this offering, you must specify vlan.
trafficType
public ListNetworkOfferingsOptions trafficType(TrafficType trafficType)
- Parameters:
trafficType
- type of the traffic
Copyright © 2009-2012 jclouds. All Rights Reserved.