@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateConnectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConnectedDeviceId()
The ID of the second device in the connection.
|
String |
getConnectedLinkId()
The ID of the link for the second device.
|
String |
getDescription()
A description of the connection.
|
String |
getDeviceId()
The ID of the first device in the connection.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
String |
getLinkId()
The ID of the link for the first device.
|
List<Tag> |
getTags()
The tags to apply to the resource during creation.
|
int |
hashCode() |
void |
setConnectedDeviceId(String connectedDeviceId)
The ID of the second device in the connection.
|
void |
setConnectedLinkId(String connectedLinkId)
The ID of the link for the second device.
|
void |
setDescription(String description)
A description of the connection.
|
void |
setDeviceId(String deviceId)
The ID of the first device in the connection.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLinkId(String linkId)
The ID of the link for the first device.
|
void |
setTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectionRequest |
withConnectedDeviceId(String connectedDeviceId)
The ID of the second device in the connection.
|
CreateConnectionRequest |
withConnectedLinkId(String connectedLinkId)
The ID of the link for the second device.
|
CreateConnectionRequest |
withDescription(String description)
A description of the connection.
|
CreateConnectionRequest |
withDeviceId(String deviceId)
The ID of the first device in the connection.
|
CreateConnectionRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
CreateConnectionRequest |
withLinkId(String linkId)
The ID of the link for the first device.
|
CreateConnectionRequest |
withTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
|
CreateConnectionRequest |
withTags(Tag... tags)
The tags to apply to the resource during creation.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public CreateConnectionRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDeviceId(String deviceId)
The ID of the first device in the connection.
deviceId
- The ID of the first device in the connection.public String getDeviceId()
The ID of the first device in the connection.
public CreateConnectionRequest withDeviceId(String deviceId)
The ID of the first device in the connection.
deviceId
- The ID of the first device in the connection.public void setConnectedDeviceId(String connectedDeviceId)
The ID of the second device in the connection.
connectedDeviceId
- The ID of the second device in the connection.public String getConnectedDeviceId()
The ID of the second device in the connection.
public CreateConnectionRequest withConnectedDeviceId(String connectedDeviceId)
The ID of the second device in the connection.
connectedDeviceId
- The ID of the second device in the connection.public void setLinkId(String linkId)
The ID of the link for the first device.
linkId
- The ID of the link for the first device.public String getLinkId()
The ID of the link for the first device.
public CreateConnectionRequest withLinkId(String linkId)
The ID of the link for the first device.
linkId
- The ID of the link for the first device.public void setConnectedLinkId(String connectedLinkId)
The ID of the link for the second device.
connectedLinkId
- The ID of the link for the second device.public String getConnectedLinkId()
The ID of the link for the second device.
public CreateConnectionRequest withConnectedLinkId(String connectedLinkId)
The ID of the link for the second device.
connectedLinkId
- The ID of the link for the second device.public void setDescription(String description)
A description of the connection.
Length Constraints: Maximum length of 256 characters.
description
- A description of the connection.
Length Constraints: Maximum length of 256 characters.
public String getDescription()
A description of the connection.
Length Constraints: Maximum length of 256 characters.
Length Constraints: Maximum length of 256 characters.
public CreateConnectionRequest withDescription(String description)
A description of the connection.
Length Constraints: Maximum length of 256 characters.
description
- A description of the connection.
Length Constraints: Maximum length of 256 characters.
public List<Tag> getTags()
The tags to apply to the resource during creation.
public void setTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
tags
- The tags to apply to the resource during creation.public CreateConnectionRequest withTags(Tag... tags)
The tags to apply to the resource during creation.
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
- The tags to apply to the resource during creation.public CreateConnectionRequest withTags(Collection<Tag> tags)
The tags to apply to the resource during creation.
tags
- The tags to apply to the resource during creation.public String toString()
toString
in class Object
Object.toString()
public CreateConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()