public class CreateAliasResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the returned data in response to a request action.
Modifier and Type | Field and Description |
---|---|
private Alias |
alias
Object containing the newly created alias record.
|
Constructor and Description |
---|
CreateAliasResult() |
Modifier and Type | Method and Description |
---|---|
CreateAliasResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Alias |
getAlias()
Object containing the newly created alias record.
|
int |
hashCode() |
void |
setAlias(Alias alias)
Object containing the newly created alias record.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAliasResult |
withAlias(Alias alias)
Object containing the newly created alias record.
|
private Alias alias
Object containing the newly created alias record.
public void setAlias(Alias alias)
Object containing the newly created alias record.
alias
- Object containing the newly created alias record.public Alias getAlias()
Object containing the newly created alias record.
public CreateAliasResult withAlias(Alias alias)
Object containing the newly created alias record.
alias
- Object containing the newly created alias record.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 CreateAliasResult clone()
clone
in class java.lang.Object