@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 Amazon Resource Name (ARN) of the connection to be created.
|
List<Tag> |
getTags()
Specifies the tags applied to the resource.
|
int |
hashCode() |
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection to be created.
|
void |
setTags(Collection<Tag> tags)
Specifies the tags applied to the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectionResult |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection to be created.
|
CreateConnectionResult |
withTags(Collection<Tag> tags)
Specifies the tags applied to the resource.
|
CreateConnectionResult |
withTags(Tag... tags)
Specifies the tags applied to the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.
The ARN is never reused if the connection is deleted.
connectionArn
- The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection
reference when the connection is shared between Amazon Web Services services. The ARN is never reused if the connection is deleted.
public String getConnectionArn()
The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.
The ARN is never reused if the connection is deleted.
The ARN is never reused if the connection is deleted.
public CreateConnectionResult withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.
The ARN is never reused if the connection is deleted.
connectionArn
- The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection
reference when the connection is shared between Amazon Web Services services. The ARN is never reused if the connection is deleted.
public List<Tag> getTags()
Specifies the tags applied to the resource.
public void setTags(Collection<Tag> tags)
Specifies the tags applied to the resource.
tags
- Specifies the tags applied to the resource.public CreateConnectionResult withTags(Tag... tags)
Specifies the tags applied to the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Specifies the tags applied to the resource.public CreateConnectionResult withTags(Collection<Tag> tags)
Specifies the tags applied to the resource.
tags
- Specifies the tags applied to the resource.public String toString()
toString
in class Object
Object.toString()
public CreateConnectionResult clone()