@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConnectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateConnectionResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateConnectionResult |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionArn()
The ARN of the connection that was created by the request.
|
String |
getConnectionState()
The state of the connection that was created by the request.
|
Date |
getCreationTime()
A time stamp for the time that the connection was created.
|
Date |
getLastModifiedTime()
A time stamp for the time that the connection was last updated.
|
int |
hashCode() |
void |
setConnectionArn(String connectionArn)
The ARN of the connection that was created by the request.
|
void |
setConnectionState(String connectionState)
The state of the connection that was created by the request.
|
void |
setCreationTime(Date creationTime)
A time stamp for the time that the connection was created.
|
void |
setLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the connection was last updated.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectionResult |
withConnectionArn(String connectionArn)
The ARN of the connection that was created by the request.
|
CreateConnectionResult |
withConnectionState(ConnectionState connectionState)
The state of the connection that was created by the request.
|
CreateConnectionResult |
withConnectionState(String connectionState)
The state of the connection that was created by the request.
|
CreateConnectionResult |
withCreationTime(Date creationTime)
A time stamp for the time that the connection was created.
|
CreateConnectionResult |
withLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the connection was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setConnectionArn(String connectionArn)
The ARN of the connection that was created by the request.
connectionArn - The ARN of the connection that was created by the request.public String getConnectionArn()
The ARN of the connection that was created by the request.
public CreateConnectionResult withConnectionArn(String connectionArn)
The ARN of the connection that was created by the request.
connectionArn - The ARN of the connection that was created by the request.public void setConnectionState(String connectionState)
The state of the connection that was created by the request.
connectionState - The state of the connection that was created by the request.ConnectionStatepublic String getConnectionState()
The state of the connection that was created by the request.
ConnectionStatepublic CreateConnectionResult withConnectionState(String connectionState)
The state of the connection that was created by the request.
connectionState - The state of the connection that was created by the request.ConnectionStatepublic CreateConnectionResult withConnectionState(ConnectionState connectionState)
The state of the connection that was created by the request.
connectionState - The state of the connection that was created by the request.ConnectionStatepublic void setCreationTime(Date creationTime)
A time stamp for the time that the connection was created.
creationTime - A time stamp for the time that the connection was created.public Date getCreationTime()
A time stamp for the time that the connection was created.
public CreateConnectionResult withCreationTime(Date creationTime)
A time stamp for the time that the connection was created.
creationTime - A time stamp for the time that the connection was created.public void setLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the connection was last updated.
lastModifiedTime - A time stamp for the time that the connection was last updated.public Date getLastModifiedTime()
A time stamp for the time that the connection was last updated.
public CreateConnectionResult withLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the connection was last updated.
lastModifiedTime - A time stamp for the time that the connection was last updated.public String toString()
toString in class ObjectObject.toString()public CreateConnectionResult clone()