Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListNetworkOfferingsOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListNetworkOfferingsOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListNetworkOfferingsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNetworkOfferingsOptions
availability(NetworkOfferingAvailabilityType availability)
ListNetworkOfferingsOptions
displayText(String displayText)
ListNetworkOfferingsOptions
id(String id)
ListNetworkOfferingsOptions
isDefault(boolean isDefault)
ListNetworkOfferingsOptions
isShared(boolean isShared)
ListNetworkOfferingsOptions
name(String name)
ListNetworkOfferingsOptions
specifyVLAN(boolean specifyVLAN)
ListNetworkOfferingsOptions
trafficType(TrafficType trafficType)
ListNetworkOfferingsOptions
zoneId(String zoneId)
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final ListNetworkOfferingsOptions NONE
-
-
Method Detail
-
zoneId
public ListNetworkOfferingsOptions zoneId(String zoneId)
- Parameters:
zoneId
- list network offerings available for network creation in specific zone
-
id
public ListNetworkOfferingsOptions id(String 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
-
-