@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)
Deprecated.
|
DomainEntry |
clearOptionsEntries()
Deprecated.
|
DomainEntry |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the domain recordset entry.
|
Boolean |
getIsAlias()
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
String |
getName()
The name of the domain.
|
Map<String,String> |
getOptions()
Deprecated.
|
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() |
Boolean |
isAlias()
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the domain recordset entry.
|
void |
setIsAlias(Boolean isAlias)
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
void |
setName(String name)
The name of the domain.
|
void |
setOptions(Map<String,String> options)
Deprecated.
|
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 |
withIsAlias(Boolean isAlias)
When
true , specifies whether the domain entry is an alias used by the Lightsail load balancer. |
DomainEntry |
withName(String name)
The name of the domain.
|
DomainEntry |
withOptions(Map<String,String> options)
Deprecated.
|
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 setIsAlias(Boolean isAlias)
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer.
isAlias
- When true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer.public Boolean getIsAlias()
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer.
true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer.public DomainEntry withIsAlias(Boolean isAlias)
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer.
isAlias
- When true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer.public Boolean isAlias()
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer.
true
, specifies whether the domain entry is an alias used by the Lightsail load
balancer.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
).@Deprecated public Map<String,String> getOptions()
(Deprecated) The options for the domain entry.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
@Deprecated public void setOptions(Map<String,String> options)
(Deprecated) The options for the domain entry.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
options
- (Deprecated) The options for the domain entry. In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
@Deprecated public DomainEntry withOptions(Map<String,String> options)
(Deprecated) The options for the domain entry.
In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
options
- (Deprecated) The options for the domain entry. In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated.
@Deprecated public DomainEntry addOptionsEntry(String key, String value)
@Deprecated 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.