@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryBranchInput extends Object implements Serializable, Cloneable, StructuredPojo
Detail input data for a repository branch.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
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.RepositoryProvider
public String getProvider()
The repository provider.
RepositoryProvider
public RepositoryBranchInput withProvider(String provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public RepositoryBranchInput withProvider(RepositoryProvider provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public String toString()
toString
in class Object
Object.toString()
public RepositoryBranchInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.