@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryBranchInput extends Object implements Serializable, Cloneable, StructuredPojo
Detail input data for a linked repository branch.
| Constructor and Description |
|---|
RepositoryBranchInput() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryBranchInput |
clone() |
boolean |
equals(Object obj) |
String |
getBranch()
The repository branch.
|
String |
getName()
The repository name.
|
String |
getProvider()
The repository provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBranch(String branch)
The repository branch.
|
void |
setName(String name)
The repository name.
|
void |
setProvider(String provider)
The repository provider.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryBranchInput |
withBranch(String branch)
The repository branch.
|
RepositoryBranchInput |
withName(String name)
The repository name.
|
RepositoryBranchInput |
withProvider(RepositoryProvider provider)
The repository provider.
|
RepositoryBranchInput |
withProvider(String provider)
The repository provider.
|
public void setBranch(String branch)
The repository branch.
branch - The repository branch.public String getBranch()
The repository branch.
public RepositoryBranchInput withBranch(String branch)
The repository branch.
branch - The repository branch.public void setName(String name)
The repository name.
name - The repository name.public String getName()
The repository name.
public RepositoryBranchInput withName(String name)
The repository name.
name - The repository name.public void setProvider(String provider)
The repository provider.
provider - The repository provider.RepositoryProviderpublic String getProvider()
The repository provider.
RepositoryProviderpublic RepositoryBranchInput withProvider(String provider)
The repository provider.
provider - The repository provider.RepositoryProviderpublic RepositoryBranchInput withProvider(RepositoryProvider provider)
The repository provider.
provider - The repository provider.RepositoryProviderpublic String toString()
toString in class ObjectObject.toString()public RepositoryBranchInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.