@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 |
getConnectionName()
A name for the new connection.
|
String |
getProviderType()
The source repository provider.
|
List<Tag> |
getTags()
A list of metadata items that you can associate with your connection resource.
|
int |
hashCode() |
void |
setConnectionName(String connectionName)
A name for the new connection.
|
void |
setProviderType(String providerType)
The source repository provider.
|
void |
setTags(Collection<Tag> tags)
A list of metadata items that you can associate with your connection resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectionRequest |
withConnectionName(String connectionName)
A name for the new connection.
|
CreateConnectionRequest |
withProviderType(ProviderType providerType)
The source repository provider.
|
CreateConnectionRequest |
withProviderType(String providerType)
The source repository provider.
|
CreateConnectionRequest |
withTags(Collection<Tag> tags)
A list of metadata items that you can associate with your connection resource.
|
CreateConnectionRequest |
withTags(Tag... tags)
A list of metadata items that you can associate with your connection resource.
|
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, withSdkRequestTimeoutpublic void setConnectionName(String connectionName)
A name for the new connection. It must be unique across all App Runner connections for the AWS account in the AWS Region.
connectionName - A name for the new connection. It must be unique across all App Runner connections for the AWS account in
the AWS Region.public String getConnectionName()
A name for the new connection. It must be unique across all App Runner connections for the AWS account in the AWS Region.
public CreateConnectionRequest withConnectionName(String connectionName)
A name for the new connection. It must be unique across all App Runner connections for the AWS account in the AWS Region.
connectionName - A name for the new connection. It must be unique across all App Runner connections for the AWS account in
the AWS Region.public void setProviderType(String providerType)
The source repository provider.
providerType - The source repository provider.ProviderTypepublic String getProviderType()
The source repository provider.
ProviderTypepublic CreateConnectionRequest withProviderType(String providerType)
The source repository provider.
providerType - The source repository provider.ProviderTypepublic CreateConnectionRequest withProviderType(ProviderType providerType)
The source repository provider.
providerType - The source repository provider.ProviderTypepublic List<Tag> getTags()
A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
public void setTags(Collection<Tag> tags)
A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
tags - A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.public CreateConnectionRequest withTags(Tag... tags)
A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
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 - A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.public CreateConnectionRequest withTags(Collection<Tag> tags)
A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
tags - A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.public String toString()
toString in class ObjectObject.toString()public CreateConnectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()