@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThirdPartySourceRepository extends Object implements Serializable, Cloneable, StructuredPojo
Information about a third-party source repository connected to CodeGuru Reviewer.
Constructor and Description |
---|
ThirdPartySourceRepository() |
Modifier and Type | Method and Description |
---|---|
ThirdPartySourceRepository |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionArn()
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
|
String |
getName()
The name of the third party source repository.
|
String |
getOwner()
The owner of the repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
|
void |
setName(String name)
The name of the third party source repository.
|
void |
setOwner(String owner)
The owner of the repository.
|
String |
toString()
Returns a string representation of this object.
|
ThirdPartySourceRepository |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.
|
ThirdPartySourceRepository |
withName(String name)
The name of the third party source repository.
|
ThirdPartySourceRepository |
withOwner(String owner)
The owner of the repository.
|
public void setName(String name)
The name of the third party source repository.
name
- The name of the third party source repository.public String getName()
The name of the third party source repository.
public ThirdPartySourceRepository withName(String name)
The name of the third party source repository.
name
- The name of the third party source repository.public void setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.
connectionArn
- The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.public String getConnectionArn()
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.public ThirdPartySourceRepository withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.
connectionArn
- The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more
information, see
Connection
in the AWS CodeStar Connections API Reference.public void setOwner(String owner)
The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository.
owner
- The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the
username for the account that owns the repository.public String getOwner()
The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository.
public ThirdPartySourceRepository withOwner(String owner)
The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository.
owner
- The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the
username for the account that owns the repository.public String toString()
toString
in class Object
Object.toString()
public ThirdPartySourceRepository clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.