@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Repository extends Object implements Serializable, Cloneable, StructuredPojo
Information about an associated AWS CodeCommit repository or an associated repository that is managed by AWS 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 AWS CodeCommit repository.
|
ThirdPartySourceRepository |
getGitHubEnterpriseServer()
Information about a GitHub Enterprise Server repository.
|
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 AWS CodeCommit repository.
|
void |
setGitHubEnterpriseServer(ThirdPartySourceRepository gitHubEnterpriseServer)
Information about a GitHub Enterprise Server repository.
|
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 AWS CodeCommit repository.
|
Repository |
withGitHubEnterpriseServer(ThirdPartySourceRepository gitHubEnterpriseServer)
Information about a GitHub Enterprise Server repository.
|
public void setCodeCommit(CodeCommitRepository codeCommit)
Information about an AWS CodeCommit repository.
codeCommit
- Information about an AWS CodeCommit repository.public CodeCommitRepository getCodeCommit()
Information about an AWS CodeCommit repository.
public Repository withCodeCommit(CodeCommitRepository codeCommit)
Information about an AWS CodeCommit repository.
codeCommit
- Information about an AWS 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 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.