@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()
The name of the connection to be created.
|
String |
getHostArn()
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
|
String |
getProviderType()
The name of the external provider where your third-party code repository is configured.
|
List<Tag> |
getTags()
The key-value pair to use when tagging the resource.
|
int |
hashCode() |
void |
setConnectionName(String connectionName)
The name of the connection to be created.
|
void |
setHostArn(String hostArn)
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
|
void |
setProviderType(String providerType)
The name of the external provider where your third-party code repository is configured.
|
void |
setTags(Collection<Tag> tags)
The key-value pair to use when tagging the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectionRequest |
withConnectionName(String connectionName)
The name of the connection to be created.
|
CreateConnectionRequest |
withHostArn(String hostArn)
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
|
CreateConnectionRequest |
withProviderType(ProviderType providerType)
The name of the external provider where your third-party code repository is configured.
|
CreateConnectionRequest |
withProviderType(String providerType)
The name of the external provider where your third-party code repository is configured.
|
CreateConnectionRequest |
withTags(Collection<Tag> tags)
The key-value pair to use when tagging the resource.
|
CreateConnectionRequest |
withTags(Tag... tags)
The key-value pair to use when tagging the 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, withSdkRequestTimeout
public void setProviderType(String providerType)
The name of the external provider where your third-party code repository is configured.
providerType
- The name of the external provider where your third-party code repository is configured.ProviderType
public String getProviderType()
The name of the external provider where your third-party code repository is configured.
ProviderType
public CreateConnectionRequest withProviderType(String providerType)
The name of the external provider where your third-party code repository is configured.
providerType
- The name of the external provider where your third-party code repository is configured.ProviderType
public CreateConnectionRequest withProviderType(ProviderType providerType)
The name of the external provider where your third-party code repository is configured.
providerType
- The name of the external provider where your third-party code repository is configured.ProviderType
public void setConnectionName(String connectionName)
The name of the connection to be created.
connectionName
- The name of the connection to be created.public String getConnectionName()
The name of the connection to be created.
public CreateConnectionRequest withConnectionName(String connectionName)
The name of the connection to be created.
connectionName
- The name of the connection to be created.public List<Tag> getTags()
The key-value pair to use when tagging the resource.
public void setTags(Collection<Tag> tags)
The key-value pair to use when tagging the resource.
tags
- The key-value pair to use when tagging the resource.public CreateConnectionRequest withTags(Tag... tags)
The key-value pair to use when tagging 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
- The key-value pair to use when tagging the resource.public CreateConnectionRequest withTags(Collection<Tag> tags)
The key-value pair to use when tagging the resource.
tags
- The key-value pair to use when tagging the resource.public void setHostArn(String hostArn)
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
hostArn
- The Amazon Resource Name (ARN) of the host associated with the connection to be created.public String getHostArn()
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
public CreateConnectionRequest withHostArn(String hostArn)
The Amazon Resource Name (ARN) of the host associated with the connection to be created.
hostArn
- The Amazon Resource Name (ARN) of the host associated with the connection to be created.public String toString()
toString
in class Object
Object.toString()
public CreateConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()