@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryLinkInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.
Constructor and Description |
---|
RepositoryLinkInfo() |
Modifier and Type | Method and Description |
---|---|
RepositoryLinkInfo |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionArn()
The Amazon Resource Name (ARN) of the connection associated with the repository link.
|
String |
getEncryptionKeyArn()
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
|
String |
getOwnerId()
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
|
String |
getProviderType()
The provider type for the connection, such as GitHub, associated with the repository link.
|
String |
getRepositoryLinkArn()
The Amazon Resource Name (ARN) of the repository link.
|
String |
getRepositoryLinkId()
The ID of the repository link.
|
String |
getRepositoryName()
The name of the repository associated with the repository link.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection associated with the repository link.
|
void |
setEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
|
void |
setOwnerId(String ownerId)
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
|
void |
setProviderType(String providerType)
The provider type for the connection, such as GitHub, associated with the repository link.
|
void |
setRepositoryLinkArn(String repositoryLinkArn)
The Amazon Resource Name (ARN) of the repository link.
|
void |
setRepositoryLinkId(String repositoryLinkId)
The ID of the repository link.
|
void |
setRepositoryName(String repositoryName)
The name of the repository associated with the repository link.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryLinkInfo |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection associated with the repository link.
|
RepositoryLinkInfo |
withEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
|
RepositoryLinkInfo |
withOwnerId(String ownerId)
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
|
RepositoryLinkInfo |
withProviderType(ProviderType providerType)
The provider type for the connection, such as GitHub, associated with the repository link.
|
RepositoryLinkInfo |
withProviderType(String providerType)
The provider type for the connection, such as GitHub, associated with the repository link.
|
RepositoryLinkInfo |
withRepositoryLinkArn(String repositoryLinkArn)
The Amazon Resource Name (ARN) of the repository link.
|
RepositoryLinkInfo |
withRepositoryLinkId(String repositoryLinkId)
The ID of the repository link.
|
RepositoryLinkInfo |
withRepositoryName(String repositoryName)
The name of the repository associated with the repository link.
|
public void setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection associated with the repository link.
connectionArn
- The Amazon Resource Name (ARN) of the connection associated with the repository link.public String getConnectionArn()
The Amazon Resource Name (ARN) of the connection associated with the repository link.
public RepositoryLinkInfo withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection associated with the repository link.
connectionArn
- The Amazon Resource Name (ARN) of the connection associated with the repository link.public void setEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
encryptionKeyArn
- The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository
link.public String getEncryptionKeyArn()
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
public RepositoryLinkInfo withEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
encryptionKeyArn
- The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository
link.public void setOwnerId(String ownerId)
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
ownerId
- The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.public String getOwnerId()
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
public RepositoryLinkInfo withOwnerId(String ownerId)
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
ownerId
- The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.public void setProviderType(String providerType)
The provider type for the connection, such as GitHub, associated with the repository link.
providerType
- The provider type for the connection, such as GitHub, associated with the repository link.ProviderType
public String getProviderType()
The provider type for the connection, such as GitHub, associated with the repository link.
ProviderType
public RepositoryLinkInfo withProviderType(String providerType)
The provider type for the connection, such as GitHub, associated with the repository link.
providerType
- The provider type for the connection, such as GitHub, associated with the repository link.ProviderType
public RepositoryLinkInfo withProviderType(ProviderType providerType)
The provider type for the connection, such as GitHub, associated with the repository link.
providerType
- The provider type for the connection, such as GitHub, associated with the repository link.ProviderType
public void setRepositoryLinkArn(String repositoryLinkArn)
The Amazon Resource Name (ARN) of the repository link.
repositoryLinkArn
- The Amazon Resource Name (ARN) of the repository link.public String getRepositoryLinkArn()
The Amazon Resource Name (ARN) of the repository link.
public RepositoryLinkInfo withRepositoryLinkArn(String repositoryLinkArn)
The Amazon Resource Name (ARN) of the repository link.
repositoryLinkArn
- The Amazon Resource Name (ARN) of the repository link.public void setRepositoryLinkId(String repositoryLinkId)
The ID of the repository link.
repositoryLinkId
- The ID of the repository link.public String getRepositoryLinkId()
The ID of the repository link.
public RepositoryLinkInfo withRepositoryLinkId(String repositoryLinkId)
The ID of the repository link.
repositoryLinkId
- The ID of the repository link.public void setRepositoryName(String repositoryName)
The name of the repository associated with the repository link.
repositoryName
- The name of the repository associated with the repository link.public String getRepositoryName()
The name of the repository associated with the repository link.
public RepositoryLinkInfo withRepositoryName(String repositoryName)
The name of the repository associated with the repository link.
repositoryName
- The name of the repository associated with the repository link.public String toString()
toString
in class Object
Object.toString()
public RepositoryLinkInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.