@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryHeadSourceCodeType extends Object implements Serializable, Cloneable, StructuredPojo
A SourceCodeType that specifies the tip of a branch in an associated repository.
Constructor and Description |
---|
RepositoryHeadSourceCodeType() |
Modifier and Type | Method and Description |
---|---|
RepositoryHeadSourceCodeType |
clone() |
boolean |
equals(Object obj) |
String |
getBranchName()
The name of the branch in an associated repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBranchName(String branchName)
The name of the branch in an associated repository.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryHeadSourceCodeType |
withBranchName(String branchName)
The name of the branch in an associated repository.
|
public void setBranchName(String branchName)
The name of the branch in an associated repository. The RepositoryHeadSourceCodeType
specifies the
tip of this branch.
branchName
- The name of the branch in an associated repository. The RepositoryHeadSourceCodeType
specifies the tip of this branch.public String getBranchName()
The name of the branch in an associated repository. The RepositoryHeadSourceCodeType
specifies the
tip of this branch.
RepositoryHeadSourceCodeType
specifies the tip of this branch.public RepositoryHeadSourceCodeType withBranchName(String branchName)
The name of the branch in an associated repository. The RepositoryHeadSourceCodeType
specifies the
tip of this branch.
branchName
- The name of the branch in an associated repository. The RepositoryHeadSourceCodeType
specifies the tip of this branch.public String toString()
toString
in class Object
Object.toString()
public RepositoryHeadSourceCodeType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.