@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRepositoryLinkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRepositoryLinkRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRepositoryLinkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConnectionArn()
The Amazon Resource Name (ARN) of the connection to be associated with the repository link.
|
String |
getEncryptionKeyArn()
The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.
|
String |
getOwnerId()
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
|
String |
getRepositoryName()
The name of the repository to be associated with the repository link.
|
List<Tag> |
getTags()
The tags for the repository to be associated with the repository link.
|
int |
hashCode() |
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection to be associated with the repository link.
|
void |
setEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.
|
void |
setOwnerId(String ownerId)
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
|
void |
setRepositoryName(String repositoryName)
The name of the repository to be associated with the repository link.
|
void |
setTags(Collection<Tag> tags)
The tags for the repository to be associated with the repository link.
|
String |
toString()
Returns a string representation of this object.
|
CreateRepositoryLinkRequest |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection to be associated with the repository link.
|
CreateRepositoryLinkRequest |
withEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.
|
CreateRepositoryLinkRequest |
withOwnerId(String ownerId)
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
|
CreateRepositoryLinkRequest |
withRepositoryName(String repositoryName)
The name of the repository to be associated with the repository link.
|
CreateRepositoryLinkRequest |
withTags(Collection<Tag> tags)
The tags for the repository to be associated with the repository link.
|
CreateRepositoryLinkRequest |
withTags(Tag... tags)
The tags for the repository to be associated with the repository link.
|
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 setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection to be associated with the repository link.
connectionArn
- The Amazon Resource Name (ARN) of the connection to be associated with the repository link.public String getConnectionArn()
The Amazon Resource Name (ARN) of the connection to be associated with the repository link.
public CreateRepositoryLinkRequest withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection to be associated with the repository link.
connectionArn
- The Amazon Resource Name (ARN) of the connection to be associated with the repository link.public void setOwnerId(String ownerId)
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
ownerId
- The owner ID for the repository associated with a specific sync configuration, such as the owner ID in
GitHub.public String getOwnerId()
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
public CreateRepositoryLinkRequest withOwnerId(String ownerId)
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
ownerId
- The owner ID for the repository associated with a specific sync configuration, such as the owner ID in
GitHub.public void setRepositoryName(String repositoryName)
The name of the repository to be associated with the repository link.
repositoryName
- The name of the repository to be associated with the repository link.public String getRepositoryName()
The name of the repository to be associated with the repository link.
public CreateRepositoryLinkRequest withRepositoryName(String repositoryName)
The name of the repository to be associated with the repository link.
repositoryName
- The name of the repository to be associated with the repository link.public void setEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.
encryptionKeyArn
- The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository
link.public String getEncryptionKeyArn()
The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.
public CreateRepositoryLinkRequest withEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.
encryptionKeyArn
- The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository
link.public List<Tag> getTags()
The tags for the repository to be associated with the repository link.
public void setTags(Collection<Tag> tags)
The tags for the repository to be associated with the repository link.
tags
- The tags for the repository to be associated with the repository link.public CreateRepositoryLinkRequest withTags(Tag... tags)
The tags for the repository to be associated with the repository link.
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 for the repository to be associated with the repository link.public CreateRepositoryLinkRequest withTags(Collection<Tag> tags)
The tags for the repository to be associated with the repository link.
tags
- The tags for the repository to be associated with the repository link.public String toString()
toString
in class Object
Object.toString()
public CreateRepositoryLinkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.