public class CreateAliasResult extends Object implements Serializable, Cloneable
Contains the results of the CreateAlias operation.
Constructor and Description |
---|
CreateAliasResult() |
Modifier and Type | Method and Description |
---|---|
CreateAliasResult |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The alias for the directory.
|
String |
getDirectoryId()
The identifier of the directory.
|
int |
hashCode() |
void |
setAlias(String alias)
The alias for the directory.
|
void |
setDirectoryId(String directoryId)
The identifier of the directory.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAliasResult |
withAlias(String alias)
The alias for the directory.
|
CreateAliasResult |
withDirectoryId(String directoryId)
The identifier of the directory.
|
public String getDirectoryId()
Constraints:
Pattern: ^d-[0-9a-f]{10}$
public void setDirectoryId(String directoryId)
Constraints:
Pattern: ^d-[0-9a-f]{10}$
directoryId
- The identifier of the directory.public CreateAliasResult withDirectoryId(String directoryId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^d-[0-9a-f]{10}$
directoryId
- The identifier of the directory.public String getAlias()
Constraints:
Length: 1 - 62
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*
public void setAlias(String alias)
Constraints:
Length: 1 - 62
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*
alias
- The alias for the directory.public CreateAliasResult withAlias(String alias)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 62
Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*
alias
- The alias for the directory.public String toString()
toString
in class Object
Object.toString()
public CreateAliasResult clone()
Copyright © 2015. All rights reserved.