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 class
UpdateRecordOptions.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 UpdateRecordOptions
data(String data)
Set the content of this record (depending on type, for an "A" record this would be an ip address)UpdateRecordOptions
host(String host)
Configure the hostname attached to this recordUpdateRecordOptions
ttl(int ttl)
Configure TTL/Time-to-live for recordUpdateRecordOptions
type(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:AddRecordOptions
Configure TTL/Time-to-live for record- Overrides:
ttl
in classAddRecordOptions
-
-