public class CheckDNSAvailabilityResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Indicates if the specified CNAME is available.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
available
Indicates if the specified CNAME is available:
|
private java.lang.String |
fullyQualifiedCNAME
The fully qualified CNAME to reserve when CreateEnvironment is
called with the provided prefix.
|
Constructor and Description |
---|
CheckDNSAvailabilityResult() |
Modifier and Type | Method and Description |
---|---|
CheckDNSAvailabilityResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAvailable()
Indicates if the specified CNAME is available:
|
java.lang.String |
getFullyQualifiedCNAME()
The fully qualified CNAME to reserve when CreateEnvironment is
called with the provided prefix.
|
int |
hashCode() |
java.lang.Boolean |
isAvailable()
Indicates if the specified CNAME is available:
|
void |
setAvailable(java.lang.Boolean available)
Indicates if the specified CNAME is available:
|
void |
setFullyQualifiedCNAME(java.lang.String fullyQualifiedCNAME)
The fully qualified CNAME to reserve when CreateEnvironment is
called with the provided prefix.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CheckDNSAvailabilityResult |
withAvailable(java.lang.Boolean available)
Indicates if the specified CNAME is available:
|
CheckDNSAvailabilityResult |
withFullyQualifiedCNAME(java.lang.String fullyQualifiedCNAME)
The fully qualified CNAME to reserve when CreateEnvironment is
called with the provided prefix.
|
private java.lang.Boolean available
Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.private java.lang.String fullyQualifiedCNAME
The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix.
public void setAvailable(java.lang.Boolean available)
Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.available
- Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.public java.lang.Boolean getAvailable()
Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.true
: The CNAME is available.false
: The CNAME is not available.public CheckDNSAvailabilityResult withAvailable(java.lang.Boolean available)
Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.available
- Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.public java.lang.Boolean isAvailable()
Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.true
: The CNAME is available.false
: The CNAME is not available.public void setFullyQualifiedCNAME(java.lang.String fullyQualifiedCNAME)
The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix.
fullyQualifiedCNAME
- The fully qualified CNAME to reserve when CreateEnvironment
is called with the provided prefix.public java.lang.String getFullyQualifiedCNAME()
The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix.
public CheckDNSAvailabilityResult withFullyQualifiedCNAME(java.lang.String fullyQualifiedCNAME)
The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix.
fullyQualifiedCNAME
- The fully qualified CNAME to reserve when CreateEnvironment
is called with the provided prefix.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CheckDNSAvailabilityResult clone()
clone
in class java.lang.Object