Package org.jclouds.cloudstack.options
Class UpdateNetworkOfferingOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.UpdateNetworkOfferingOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class UpdateNetworkOfferingOptions extends AccountInDomainOptions
Options to control how network offerings are created
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateNetworkOfferingOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static UpdateNetworkOfferingOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateNetworkOfferingOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNetworkOfferingOptions
accountInDomain(String account, String domain)
UpdateNetworkOfferingOptions
availability(NetworkOfferingAvailabilityType availability)
UpdateNetworkOfferingOptions
displayText(String displayText)
UpdateNetworkOfferingOptions
domainId(String domainId)
UpdateNetworkOfferingOptions
name(String name)
-
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 UpdateNetworkOfferingOptions NONE
-
-
Method Detail
-
name
public UpdateNetworkOfferingOptions name(String name)
- Parameters:
name
- service offering name
-
displayText
public UpdateNetworkOfferingOptions displayText(String displayText)
- Parameters:
displayText
- service offering display text
-
availability
public UpdateNetworkOfferingOptions availability(NetworkOfferingAvailabilityType availability)
- Parameters:
availability
- the availability of network offering. Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering
-
accountInDomain
public UpdateNetworkOfferingOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public UpdateNetworkOfferingOptions domainId(String domainId)
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-
-