@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDestinationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateDestinationResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateDestinationResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name of the new resource.
|
String |
getName()
The name of the new resource.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name of the new resource.
|
void |
setName(String name)
The name of the new resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateDestinationResult |
withArn(String arn)
The Amazon Resource Name of the new resource.
|
CreateDestinationResult |
withName(String name)
The name of the new resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setArn(String arn)
The Amazon Resource Name of the new resource.
arn - The Amazon Resource Name of the new resource.public String getArn()
The Amazon Resource Name of the new resource.
public CreateDestinationResult withArn(String arn)
The Amazon Resource Name of the new resource.
arn - The Amazon Resource Name of the new resource.public void setName(String name)
The name of the new resource.
name - The name of the new resource.public String getName()
The name of the new resource.
public CreateDestinationResult withName(String name)
The name of the new resource.
name - The name of the new resource.public String toString()
toString in class ObjectObject.toString()public CreateDestinationResult clone()