@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 |
getBandwidth()
The bandwidth of the connection.
|
String |
getConnectionName()
The name of the connection.
|
String |
getLagId()
The ID of the LAG.
|
String |
getLocation()
The location of the connection.
|
String |
getProviderName()
The name of the service provider associated with the requested connection.
|
Boolean |
getRequestMACSec()
Indicates whether you want the connection to support MAC Security (MACsec).
|
List<Tag> |
getTags()
The tags to associate with the lag.
|
int |
hashCode() |
Boolean |
isRequestMACSec()
Indicates whether you want the connection to support MAC Security (MACsec).
|
void |
setBandwidth(String bandwidth)
The bandwidth of the connection.
|
void |
setConnectionName(String connectionName)
The name of the connection.
|
void |
setLagId(String lagId)
The ID of the LAG.
|
void |
setLocation(String location)
The location of the connection.
|
void |
setProviderName(String providerName)
The name of the service provider associated with the requested connection.
|
void |
setRequestMACSec(Boolean requestMACSec)
Indicates whether you want the connection to support MAC Security (MACsec).
|
void |
setTags(Collection<Tag> tags)
The tags to associate with the lag.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectionRequest |
withBandwidth(String bandwidth)
The bandwidth of the connection.
|
CreateConnectionRequest |
withConnectionName(String connectionName)
The name of the connection.
|
CreateConnectionRequest |
withLagId(String lagId)
The ID of the LAG.
|
CreateConnectionRequest |
withLocation(String location)
The location of the connection.
|
CreateConnectionRequest |
withProviderName(String providerName)
The name of the service provider associated with the requested connection.
|
CreateConnectionRequest |
withRequestMACSec(Boolean requestMACSec)
Indicates whether you want the connection to support MAC Security (MACsec).
|
CreateConnectionRequest |
withTags(Collection<Tag> tags)
The tags to associate with the lag.
|
CreateConnectionRequest |
withTags(Tag... tags)
The tags to associate with the lag.
|
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 setLocation(String location)
The location of the connection.
location
- The location of the connection.public String getLocation()
The location of the connection.
public CreateConnectionRequest withLocation(String location)
The location of the connection.
location
- The location of the connection.public void setBandwidth(String bandwidth)
The bandwidth of the connection.
bandwidth
- The bandwidth of the connection.public String getBandwidth()
The bandwidth of the connection.
public CreateConnectionRequest withBandwidth(String bandwidth)
The bandwidth of the connection.
bandwidth
- The bandwidth of the connection.public void setConnectionName(String connectionName)
The name of the connection.
connectionName
- The name of the connection.public String getConnectionName()
The name of the connection.
public CreateConnectionRequest withConnectionName(String connectionName)
The name of the connection.
connectionName
- The name of the connection.public void setLagId(String lagId)
The ID of the LAG.
lagId
- The ID of the LAG.public String getLagId()
The ID of the LAG.
public CreateConnectionRequest withLagId(String lagId)
The ID of the LAG.
lagId
- The ID of the LAG.public List<Tag> getTags()
The tags to associate with the lag.
public void setTags(Collection<Tag> tags)
The tags to associate with the lag.
tags
- The tags to associate with the lag.public CreateConnectionRequest withTags(Tag... tags)
The tags to associate with the lag.
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 associate with the lag.public CreateConnectionRequest withTags(Collection<Tag> tags)
The tags to associate with the lag.
tags
- The tags to associate with the lag.public void setProviderName(String providerName)
The name of the service provider associated with the requested connection.
providerName
- The name of the service provider associated with the requested connection.public String getProviderName()
The name of the service provider associated with the requested connection.
public CreateConnectionRequest withProviderName(String providerName)
The name of the service provider associated with the requested connection.
providerName
- The name of the service provider associated with the requested connection.public void setRequestMACSec(Boolean requestMACSec)
Indicates whether you want the connection to support MAC Security (MACsec).
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
requestMACSec
- Indicates whether you want the connection to support MAC Security (MACsec).
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
public Boolean getRequestMACSec()
Indicates whether you want the connection to support MAC Security (MACsec).
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
public CreateConnectionRequest withRequestMACSec(Boolean requestMACSec)
Indicates whether you want the connection to support MAC Security (MACsec).
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
requestMACSec
- Indicates whether you want the connection to support MAC Security (MACsec).
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
public Boolean isRequestMACSec()
Indicates whether you want the connection to support MAC Security (MACsec).
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()