Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class ResourceRecord

java.lang.Object
  extended by com.amazonaws.services.route53.model.ResourceRecord
All Implemented Interfaces:
Serializable

public class ResourceRecord
extends Object
implements Serializable

A complex type that contains the value of the Value element for the current resource record set.

See Also:
Serialized Form

Constructor Summary
ResourceRecord()
          Default constructor for a new ResourceRecord object.
ResourceRecord(String value)
          Constructs a new ResourceRecord object.
 
Method Summary
 boolean equals(Object obj)
           
 String getValue()
          The value of the Value element for the current resource record set.
 int hashCode()
           
 void setValue(String value)
          The value of the Value element for the current resource record set.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ResourceRecord withValue(String value)
          The value of the Value element for the current resource record set.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceRecord

public ResourceRecord()
Default constructor for a new ResourceRecord object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ResourceRecord

public ResourceRecord(String value)
Constructs a new ResourceRecord object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
value - The value of the Value element for the current resource record set.
Method Detail

getValue

public String getValue()
The value of the Value element for the current resource record set.

Constraints:
Length: 0 - 4000

Returns:
The value of the Value element for the current resource record set.

setValue

public void setValue(String value)
The value of the Value element for the current resource record set.

Constraints:
Length: 0 - 4000

Parameters:
value - The value of the Value element for the current resource record set.

withValue

public ResourceRecord withValue(String value)
The value of the Value element for the current resource record set.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 4000

Parameters:
value - The value of the Value element for the current resource record set.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.