@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Repository extends Object implements Serializable, Cloneable, StructuredPojo
Information about an associated Amazon Web Services CodeCommit repository or an associated repository that is managed
by Amazon Web Services CodeStar Connections (for example, Bitbucket). This Repository
object is not used
if your source code is in an associated GitHub repository.
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
Repository |
clone() |
boolean |
equals(Object obj) |
ThirdPartySourceRepository |
getBitbucket()
Information about a Bitbucket repository.
|
CodeCommitRepository |
getCodeCommit()
Information about an Amazon Web Services CodeCommit repository.
|
ThirdPartySourceRepository |
getGitHubEnterpriseServer()
Information about a GitHub Enterprise Server repository.
|
S3Repository |
getS3Bucket() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBitbucket(ThirdPartySourceRepository bitbucket)
Information about a Bitbucket repository.
|
void |
setCodeCommit(CodeCommitRepository codeCommit)
Information about an Amazon Web Services CodeCommit repository.
|
void |
setGitHubEnterpriseServer(ThirdPartySourceRepository gitHubEnterpriseServer)
Information about a GitHub Enterprise Server repository.
|
void |
setS3Bucket(S3Repository s3Bucket) |
String |
toString()
Returns a string representation of this object.
|
Repository |
withBitbucket(ThirdPartySourceRepository bitbucket)
Information about a Bitbucket repository.
|
Repository |
withCodeCommit(CodeCommitRepository codeCommit)
Information about an Amazon Web Services CodeCommit repository.
|
Repository |
withGitHubEnterpriseServer(ThirdPartySourceRepository gitHubEnterpriseServer)
Information about a GitHub Enterprise Server repository.
|
Repository |
withS3Bucket(S3Repository s3Bucket) |
public void setCodeCommit(CodeCommitRepository codeCommit)
Information about an Amazon Web Services CodeCommit repository.
codeCommit
- Information about an Amazon Web Services CodeCommit repository.public CodeCommitRepository getCodeCommit()
Information about an Amazon Web Services CodeCommit repository.
public Repository withCodeCommit(CodeCommitRepository codeCommit)
Information about an Amazon Web Services CodeCommit repository.
codeCommit
- Information about an Amazon Web Services CodeCommit repository.public void setBitbucket(ThirdPartySourceRepository bitbucket)
Information about a Bitbucket repository.
bitbucket
- Information about a Bitbucket repository.public ThirdPartySourceRepository getBitbucket()
Information about a Bitbucket repository.
public Repository withBitbucket(ThirdPartySourceRepository bitbucket)
Information about a Bitbucket repository.
bitbucket
- Information about a Bitbucket repository.public void setGitHubEnterpriseServer(ThirdPartySourceRepository gitHubEnterpriseServer)
Information about a GitHub Enterprise Server repository.
gitHubEnterpriseServer
- Information about a GitHub Enterprise Server repository.public ThirdPartySourceRepository getGitHubEnterpriseServer()
Information about a GitHub Enterprise Server repository.
public Repository withGitHubEnterpriseServer(ThirdPartySourceRepository gitHubEnterpriseServer)
Information about a GitHub Enterprise Server repository.
gitHubEnterpriseServer
- Information about a GitHub Enterprise Server repository.public void setS3Bucket(S3Repository s3Bucket)
s3Bucket
- public S3Repository getS3Bucket()
public Repository withS3Bucket(S3Repository s3Bucket)
s3Bucket
- 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.