@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Repository extends Object implements Serializable, Cloneable, StructuredPojo
Detail date for a repository that has been registered with Proton.
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
Repository |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The repository Amazon Resource Name (ARN).
|
String |
getConnectionArn()
The repository Amazon Web Services CodeStar connection that connects Proton to your repository.
|
String |
getEncryptionKey()
Your customer Amazon Web Services KMS encryption key.
|
String |
getName()
The repository name.
|
String |
getProvider()
The repository provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The repository Amazon Resource Name (ARN).
|
void |
setConnectionArn(String connectionArn)
The repository Amazon Web Services CodeStar connection that connects Proton to your repository.
|
void |
setEncryptionKey(String encryptionKey)
Your customer Amazon Web Services KMS encryption key.
|
void |
setName(String name)
The repository name.
|
void |
setProvider(String provider)
The repository provider.
|
String |
toString()
Returns a string representation of this object.
|
Repository |
withArn(String arn)
The repository Amazon Resource Name (ARN).
|
Repository |
withConnectionArn(String connectionArn)
The repository Amazon Web Services CodeStar connection that connects Proton to your repository.
|
Repository |
withEncryptionKey(String encryptionKey)
Your customer Amazon Web Services KMS encryption key.
|
Repository |
withName(String name)
The repository name.
|
Repository |
withProvider(RepositoryProvider provider)
The repository provider.
|
Repository |
withProvider(String provider)
The repository provider.
|
public void setArn(String arn)
The repository Amazon Resource Name (ARN).
arn
- The repository Amazon Resource Name (ARN).public String getArn()
The repository Amazon Resource Name (ARN).
public Repository withArn(String arn)
The repository Amazon Resource Name (ARN).
arn
- The repository Amazon Resource Name (ARN).public void setConnectionArn(String connectionArn)
The repository Amazon Web Services CodeStar connection that connects Proton to your repository.
connectionArn
- The repository Amazon Web Services CodeStar connection that connects Proton to your repository.public String getConnectionArn()
The repository Amazon Web Services CodeStar connection that connects Proton to your repository.
public Repository withConnectionArn(String connectionArn)
The repository Amazon Web Services CodeStar connection that connects Proton to your repository.
connectionArn
- The repository Amazon Web Services CodeStar connection that connects Proton to your repository.public void setEncryptionKey(String encryptionKey)
Your customer Amazon Web Services KMS encryption key.
encryptionKey
- Your customer Amazon Web Services KMS encryption key.public String getEncryptionKey()
Your customer Amazon Web Services KMS encryption key.
public Repository withEncryptionKey(String encryptionKey)
Your customer Amazon Web Services KMS encryption key.
encryptionKey
- Your customer Amazon Web Services KMS encryption key.public void setName(String name)
The repository name.
name
- The repository name.public String getName()
The repository name.
public Repository withName(String name)
The repository name.
name
- The repository name.public void setProvider(String provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public String getProvider()
The repository provider.
RepositoryProvider
public Repository withProvider(String provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public Repository withProvider(RepositoryProvider provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public String toString()
toString
in class Object
Object.toString()
public Repository clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.