@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() |
Date |
getCreatedAt() |
String |
getId() |
String |
getState() |
Date |
getUpdatedAt() |
int |
hashCode() |
void |
setArn(String arn) |
void |
setCreatedAt(Date createdAt) |
void |
setId(String id) |
void |
setState(String state) |
void |
setUpdatedAt(Date updatedAt) |
String |
toString()
Returns a string representation of this object.
|
CreateDestinationResult |
withArn(String arn) |
CreateDestinationResult |
withCreatedAt(Date createdAt) |
CreateDestinationResult |
withId(String id) |
CreateDestinationResult |
withState(DestinationState state) |
CreateDestinationResult |
withState(String state) |
CreateDestinationResult |
withUpdatedAt(Date updatedAt) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- public String getArn()
public CreateDestinationResult withArn(String arn)
arn
- public void setId(String id)
id
- public String getId()
public CreateDestinationResult withId(String id)
id
- public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public CreateDestinationResult withCreatedAt(Date createdAt)
createdAt
- public void setUpdatedAt(Date updatedAt)
updatedAt
- public Date getUpdatedAt()
public CreateDestinationResult withUpdatedAt(Date updatedAt)
updatedAt
- public void setState(String state)
state
- DestinationState
public String getState()
DestinationState
public CreateDestinationResult withState(String state)
state
- DestinationState
public CreateDestinationResult withState(DestinationState state)
state
- DestinationState
public String toString()
toString
in class Object
Object.toString()
public CreateDestinationResult clone()