@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Target extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a target for a pull request.
Constructor and Description |
---|
Target() |
Modifier and Type | Method and Description |
---|---|
Target |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationReference()
The branch of the repository where the pull request changes are merged.
|
String |
getRepositoryName()
The name of the repository that contains the pull request.
|
String |
getSourceReference()
The branch of the repository that contains the changes for the pull request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationReference(String destinationReference)
The branch of the repository where the pull request changes are merged.
|
void |
setRepositoryName(String repositoryName)
The name of the repository that contains the pull request.
|
void |
setSourceReference(String sourceReference)
The branch of the repository that contains the changes for the pull request.
|
String |
toString()
Returns a string representation of this object.
|
Target |
withDestinationReference(String destinationReference)
The branch of the repository where the pull request changes are merged.
|
Target |
withRepositoryName(String repositoryName)
The name of the repository that contains the pull request.
|
Target |
withSourceReference(String sourceReference)
The branch of the repository that contains the changes for the pull request.
|
public void setRepositoryName(String repositoryName)
The name of the repository that contains the pull request.
repositoryName
- The name of the repository that contains the pull request.public String getRepositoryName()
The name of the repository that contains the pull request.
public Target withRepositoryName(String repositoryName)
The name of the repository that contains the pull request.
repositoryName
- The name of the repository that contains the pull request.public void setSourceReference(String sourceReference)
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
sourceReference
- The branch of the repository that contains the changes for the pull request. Also known as the source
branch.public String getSourceReference()
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
public Target withSourceReference(String sourceReference)
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
sourceReference
- The branch of the repository that contains the changes for the pull request. Also known as the source
branch.public void setDestinationReference(String destinationReference)
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
destinationReference
- The branch of the repository where the pull request changes are merged. Also known as the destination
branch.public String getDestinationReference()
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
public Target withDestinationReference(String destinationReference)
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
destinationReference
- The branch of the repository where the pull request changes are merged. Also known as the destination
branch.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.