@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainEntry extends Object implements Serializable, Cloneable, StructuredPojo
Describes a domain recordset entry.
Constructor and Description |
---|
DomainEntry() |
Modifier and Type | Method and Description |
---|---|
DomainEntry |
addOptionsEntry(String key,
String value) |
DomainEntry |
clearOptionsEntries()
Removes all the entries added into Options.
|
DomainEntry |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the domain recordset entry.
|
String |
getName()
The name of the domain.
|
Map<String,String> |
getOptions()
The options for the domain entry.
|
String |
getTarget()
The target AWS name server (e.g.,
ns-111.awsdns-22.com. ). |
String |
getType()
The type of domain entry (e.g.,
SOA or NS ). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the domain recordset entry.
|
void |
setName(String name)
The name of the domain.
|
void |
setOptions(Map<String,String> options)
The options for the domain entry.
|
void |
setTarget(String target)
The target AWS name server (e.g.,
ns-111.awsdns-22.com. ). |
void |
setType(String type)
The type of domain entry (e.g.,
SOA or NS ). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DomainEntry |
withId(String id)
The ID of the domain recordset entry.
|
DomainEntry |
withName(String name)
The name of the domain.
|
DomainEntry |
withOptions(Map<String,String> options)
The options for the domain entry.
|
DomainEntry |
withTarget(String target)
The target AWS name server (e.g.,
ns-111.awsdns-22.com. ). |
DomainEntry |
withType(String type)
The type of domain entry (e.g.,
SOA or NS ). |
public void setId(String id)
The ID of the domain recordset entry.
id
- The ID of the domain recordset entry.public String getId()
The ID of the domain recordset entry.
public DomainEntry withId(String id)
The ID of the domain recordset entry.
id
- The ID of the domain recordset entry.public void setName(String name)
The name of the domain.
name
- The name of the domain.public String getName()
The name of the domain.
public DomainEntry withName(String name)
The name of the domain.
name
- The name of the domain.public void setTarget(String target)
The target AWS name server (e.g., ns-111.awsdns-22.com.
).
target
- The target AWS name server (e.g., ns-111.awsdns-22.com.
).public String getTarget()
The target AWS name server (e.g., ns-111.awsdns-22.com.
).
ns-111.awsdns-22.com.
).public DomainEntry withTarget(String target)
The target AWS name server (e.g., ns-111.awsdns-22.com.
).
target
- The target AWS name server (e.g., ns-111.awsdns-22.com.
).public void setType(String type)
The type of domain entry (e.g., SOA
or NS
).
type
- The type of domain entry (e.g., SOA
or NS
).public String getType()
The type of domain entry (e.g., SOA
or NS
).
SOA
or NS
).public DomainEntry withType(String type)
The type of domain entry (e.g., SOA
or NS
).
type
- The type of domain entry (e.g., SOA
or NS
).public Map<String,String> getOptions()
The options for the domain entry.
public void setOptions(Map<String,String> options)
The options for the domain entry.
options
- The options for the domain entry.public DomainEntry withOptions(Map<String,String> options)
The options for the domain entry.
options
- The options for the domain entry.public DomainEntry addOptionsEntry(String key, String value)
public DomainEntry clearOptionsEntries()
public String toString()
toString
in class Object
Object.toString()
public DomainEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.