@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositorySyncDefinition extends Object implements Serializable, Cloneable, StructuredPojo
A repository sync definition.
Constructor and Description |
---|
RepositorySyncDefinition() |
Modifier and Type | Method and Description |
---|---|
RepositorySyncDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getBranch()
The repository branch.
|
String |
getDirectory()
The directory in the repository.
|
String |
getParent()
The resource that is synced from.
|
String |
getTarget()
The resource that is synced to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBranch(String branch)
The repository branch.
|
void |
setDirectory(String directory)
The directory in the repository.
|
void |
setParent(String parent)
The resource that is synced from.
|
void |
setTarget(String target)
The resource that is synced to.
|
String |
toString()
Returns a string representation of this object.
|
RepositorySyncDefinition |
withBranch(String branch)
The repository branch.
|
RepositorySyncDefinition |
withDirectory(String directory)
The directory in the repository.
|
RepositorySyncDefinition |
withParent(String parent)
The resource that is synced from.
|
RepositorySyncDefinition |
withTarget(String target)
The resource that is synced to.
|
public void setBranch(String branch)
The repository branch.
branch
- The repository branch.public String getBranch()
The repository branch.
public RepositorySyncDefinition withBranch(String branch)
The repository branch.
branch
- The repository branch.public void setDirectory(String directory)
The directory in the repository.
directory
- The directory in the repository.public String getDirectory()
The directory in the repository.
public RepositorySyncDefinition withDirectory(String directory)
The directory in the repository.
directory
- The directory in the repository.public void setParent(String parent)
The resource that is synced from.
parent
- The resource that is synced from.public String getParent()
The resource that is synced from.
public RepositorySyncDefinition withParent(String parent)
The resource that is synced from.
parent
- The resource that is synced from.public void setTarget(String target)
The resource that is synced to.
target
- The resource that is synced to.public String getTarget()
The resource that is synced to.
public RepositorySyncDefinition withTarget(String target)
The resource that is synced to.
target
- The resource that is synced to.public String toString()
toString
in class Object
Object.toString()
public RepositorySyncDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.