@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeConnectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeConnectionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeConnectionResult |
clone() |
boolean |
equals(Object obj) |
String |
getAuthorizationType()
The type of authorization specified for the connection.
|
ConnectionAuthResponseParameters |
getAuthParameters()
The parameters to use for authorization for the connection.
|
String |
getConnectionArn()
The ARN of the connection retrieved.
|
String |
getConnectionState()
The state of the connection retrieved.
|
Date |
getCreationTime()
A time stamp for the time that the connection was created.
|
String |
getDescription()
The description for the connection retrieved.
|
Date |
getLastAuthorizedTime()
A time stamp for the time that the connection was last authorized.
|
Date |
getLastModifiedTime()
A time stamp for the time that the connection was last modified.
|
String |
getName()
The name of the connection retrieved.
|
String |
getSecretArn()
The ARN of the secret created from the authorization parameters specified for the connection.
|
String |
getStateReason()
The reason that the connection is in the current connection state.
|
int |
hashCode() |
void |
setAuthorizationType(String authorizationType)
The type of authorization specified for the connection.
|
void |
setAuthParameters(ConnectionAuthResponseParameters authParameters)
The parameters to use for authorization for the connection.
|
void |
setConnectionArn(String connectionArn)
The ARN of the connection retrieved.
|
void |
setConnectionState(String connectionState)
The state of the connection retrieved.
|
void |
setCreationTime(Date creationTime)
A time stamp for the time that the connection was created.
|
void |
setDescription(String description)
The description for the connection retrieved.
|
void |
setLastAuthorizedTime(Date lastAuthorizedTime)
A time stamp for the time that the connection was last authorized.
|
void |
setLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the connection was last modified.
|
void |
setName(String name)
The name of the connection retrieved.
|
void |
setSecretArn(String secretArn)
The ARN of the secret created from the authorization parameters specified for the connection.
|
void |
setStateReason(String stateReason)
The reason that the connection is in the current connection state.
|
String |
toString()
Returns a string representation of this object.
|
DescribeConnectionResult |
withAuthorizationType(ConnectionAuthorizationType authorizationType)
The type of authorization specified for the connection.
|
DescribeConnectionResult |
withAuthorizationType(String authorizationType)
The type of authorization specified for the connection.
|
DescribeConnectionResult |
withAuthParameters(ConnectionAuthResponseParameters authParameters)
The parameters to use for authorization for the connection.
|
DescribeConnectionResult |
withConnectionArn(String connectionArn)
The ARN of the connection retrieved.
|
DescribeConnectionResult |
withConnectionState(ConnectionState connectionState)
The state of the connection retrieved.
|
DescribeConnectionResult |
withConnectionState(String connectionState)
The state of the connection retrieved.
|
DescribeConnectionResult |
withCreationTime(Date creationTime)
A time stamp for the time that the connection was created.
|
DescribeConnectionResult |
withDescription(String description)
The description for the connection retrieved.
|
DescribeConnectionResult |
withLastAuthorizedTime(Date lastAuthorizedTime)
A time stamp for the time that the connection was last authorized.
|
DescribeConnectionResult |
withLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the connection was last modified.
|
DescribeConnectionResult |
withName(String name)
The name of the connection retrieved.
|
DescribeConnectionResult |
withSecretArn(String secretArn)
The ARN of the secret created from the authorization parameters specified for the connection.
|
DescribeConnectionResult |
withStateReason(String stateReason)
The reason that the connection is in the current connection state.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConnectionArn(String connectionArn)
The ARN of the connection retrieved.
connectionArn
- The ARN of the connection retrieved.public String getConnectionArn()
The ARN of the connection retrieved.
public DescribeConnectionResult withConnectionArn(String connectionArn)
The ARN of the connection retrieved.
connectionArn
- The ARN of the connection retrieved.public void setName(String name)
The name of the connection retrieved.
name
- The name of the connection retrieved.public String getName()
The name of the connection retrieved.
public DescribeConnectionResult withName(String name)
The name of the connection retrieved.
name
- The name of the connection retrieved.public void setDescription(String description)
The description for the connection retrieved.
description
- The description for the connection retrieved.public String getDescription()
The description for the connection retrieved.
public DescribeConnectionResult withDescription(String description)
The description for the connection retrieved.
description
- The description for the connection retrieved.public void setConnectionState(String connectionState)
The state of the connection retrieved.
connectionState
- The state of the connection retrieved.ConnectionState
public String getConnectionState()
The state of the connection retrieved.
ConnectionState
public DescribeConnectionResult withConnectionState(String connectionState)
The state of the connection retrieved.
connectionState
- The state of the connection retrieved.ConnectionState
public DescribeConnectionResult withConnectionState(ConnectionState connectionState)
The state of the connection retrieved.
connectionState
- The state of the connection retrieved.ConnectionState
public void setStateReason(String stateReason)
The reason that the connection is in the current connection state.
stateReason
- The reason that the connection is in the current connection state.public String getStateReason()
The reason that the connection is in the current connection state.
public DescribeConnectionResult withStateReason(String stateReason)
The reason that the connection is in the current connection state.
stateReason
- The reason that the connection is in the current connection state.public void setAuthorizationType(String authorizationType)
The type of authorization specified for the connection.
authorizationType
- The type of authorization specified for the connection.ConnectionAuthorizationType
public String getAuthorizationType()
The type of authorization specified for the connection.
ConnectionAuthorizationType
public DescribeConnectionResult withAuthorizationType(String authorizationType)
The type of authorization specified for the connection.
authorizationType
- The type of authorization specified for the connection.ConnectionAuthorizationType
public DescribeConnectionResult withAuthorizationType(ConnectionAuthorizationType authorizationType)
The type of authorization specified for the connection.
authorizationType
- The type of authorization specified for the connection.ConnectionAuthorizationType
public void setSecretArn(String secretArn)
The ARN of the secret created from the authorization parameters specified for the connection.
secretArn
- The ARN of the secret created from the authorization parameters specified for the connection.public String getSecretArn()
The ARN of the secret created from the authorization parameters specified for the connection.
public DescribeConnectionResult withSecretArn(String secretArn)
The ARN of the secret created from the authorization parameters specified for the connection.
secretArn
- The ARN of the secret created from the authorization parameters specified for the connection.public void setAuthParameters(ConnectionAuthResponseParameters authParameters)
The parameters to use for authorization for the connection.
authParameters
- The parameters to use for authorization for the connection.public ConnectionAuthResponseParameters getAuthParameters()
The parameters to use for authorization for the connection.
public DescribeConnectionResult withAuthParameters(ConnectionAuthResponseParameters authParameters)
The parameters to use for authorization for the connection.
authParameters
- The parameters to use for authorization for the connection.public 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 DescribeConnectionResult 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 modified.
lastModifiedTime
- A time stamp for the time that the connection was last modified.public Date getLastModifiedTime()
A time stamp for the time that the connection was last modified.
public DescribeConnectionResult withLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the connection was last modified.
lastModifiedTime
- A time stamp for the time that the connection was last modified.public void setLastAuthorizedTime(Date lastAuthorizedTime)
A time stamp for the time that the connection was last authorized.
lastAuthorizedTime
- A time stamp for the time that the connection was last authorized.public Date getLastAuthorizedTime()
A time stamp for the time that the connection was last authorized.
public DescribeConnectionResult withLastAuthorizedTime(Date lastAuthorizedTime)
A time stamp for the time that the connection was last authorized.
lastAuthorizedTime
- A time stamp for the time that the connection was last authorized.public String toString()
toString
in class Object
Object.toString()
public DescribeConnectionResult clone()