@Generated(value="software.amazon.awssdk:codegen") public class BranchInfo extends Object implements StructuredPojo, ToCopyableBuilder<BranchInfo.Builder,BranchInfo>
Returns information about a branch.
Modifier and Type | Class and Description |
---|---|
static interface |
BranchInfo.Builder |
Modifier and Type | Method and Description |
---|---|
String |
branchName()
The name of the branch.
|
static BranchInfo.Builder |
builder() |
String |
commitId()
The ID of the last commit made to the branch.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends BranchInfo.Builder> |
serializableBuilderClass() |
BranchInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String branchName()
The name of the branch.
public String commitId()
The ID of the last commit made to the branch.
public BranchInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BranchInfo.Builder,BranchInfo>
public static BranchInfo.Builder builder()
public static Class<? extends BranchInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.