org.jclouds.glesys.options
Class UpdateRecordOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.glesys.options.AddRecordOptions
          extended by org.jclouds.glesys.options.UpdateRecordOptions
All Implemented Interfaces:
org.jclouds.http.options.HttpRequestOptions

public class UpdateRecordOptions
extends AddRecordOptions

Author:
Adam Lowe

Nested Class Summary
static class UpdateRecordOptions.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateRecordOptions()
           
 
Method Summary
 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 record
 UpdateRecordOptions ttl(int ttl)
          Configure TTL/Time-to-live for record
 UpdateRecordOptions 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateRecordOptions

public UpdateRecordOptions()
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 class AddRecordOptions


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.