Package org.jclouds.glesys.options
Class UpdateRecordOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.glesys.options.AddRecordOptions
-
- org.jclouds.glesys.options.UpdateRecordOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class UpdateRecordOptions extends AddRecordOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateRecordOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateRecordOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRecordOptionsdata(String data)Set the content of this record (depending on type, for an "A" record this would be an ip address)UpdateRecordOptionshost(String host)Configure the hostname attached to this recordUpdateRecordOptionsttl(int ttl)Configure TTL/Time-to-live for recordUpdateRecordOptionstype(String type)Configure the type of record, ex.-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Method Detail
-
host
public UpdateRecordOptions host(String host)
Configure the hostname attached to this record
-
type
public UpdateRecordOptions type(String type)
Configure the type of record, ex. "A", "CNAME" or "MX"
-
data
public UpdateRecordOptions data(String data)
Set the content of this record (depending on type, for an "A" record this would be an ip address)
-
ttl
public UpdateRecordOptions ttl(int ttl)
Description copied from class:AddRecordOptionsConfigure TTL/Time-to-live for record- Overrides:
ttlin classAddRecordOptions
-
-