@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositorySyncDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The definition for a repository with a sync configuration.
| Constructor and Description | 
|---|
RepositorySyncDefinition()  | 
| Modifier and Type | Method and Description | 
|---|---|
RepositorySyncDefinition | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getBranch()
 The branch specified for a repository sync definition. 
 | 
String | 
getDirectory()
 The configuration file for a repository sync definition. 
 | 
String | 
getParent()
 The parent resource specified for a repository sync definition. 
 | 
String | 
getTarget()
 The target resource specified for a repository sync definition. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setBranch(String branch)
 The branch specified for a repository sync definition. 
 | 
void | 
setDirectory(String directory)
 The configuration file for a repository sync definition. 
 | 
void | 
setParent(String parent)
 The parent resource specified for a repository sync definition. 
 | 
void | 
setTarget(String target)
 The target resource specified for a repository sync definition. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
RepositorySyncDefinition | 
withBranch(String branch)
 The branch specified for a repository sync definition. 
 | 
RepositorySyncDefinition | 
withDirectory(String directory)
 The configuration file for a repository sync definition. 
 | 
RepositorySyncDefinition | 
withParent(String parent)
 The parent resource specified for a repository sync definition. 
 | 
RepositorySyncDefinition | 
withTarget(String target)
 The target resource specified for a repository sync definition. 
 | 
public void setBranch(String branch)
The branch specified for a repository sync definition.
branch - The branch specified for a repository sync definition.public String getBranch()
The branch specified for a repository sync definition.
public RepositorySyncDefinition withBranch(String branch)
The branch specified for a repository sync definition.
branch - The branch specified for a repository sync definition.public void setDirectory(String directory)
 The configuration file for a repository sync definition. This value comes from creating or updating the
 config-file field of a sync-configuration.
 
directory - The configuration file for a repository sync definition. This value comes from creating or updating the
        config-file field of a sync-configuration.public String getDirectory()
 The configuration file for a repository sync definition. This value comes from creating or updating the
 config-file field of a sync-configuration.
 
config-file field of a sync-configuration.public RepositorySyncDefinition withDirectory(String directory)
 The configuration file for a repository sync definition. This value comes from creating or updating the
 config-file field of a sync-configuration.
 
directory - The configuration file for a repository sync definition. This value comes from creating or updating the
        config-file field of a sync-configuration.public void setParent(String parent)
The parent resource specified for a repository sync definition.
parent - The parent resource specified for a repository sync definition.public String getParent()
The parent resource specified for a repository sync definition.
public RepositorySyncDefinition withParent(String parent)
The parent resource specified for a repository sync definition.
parent - The parent resource specified for a repository sync definition.public void setTarget(String target)
The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.
target - The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the
        parent and target resource are the same.public String getTarget()
The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.
public RepositorySyncDefinition withTarget(String target)
The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.
target - The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the
        parent and target resource are the same.public String toString()
toString in class ObjectObject.toString()public RepositorySyncDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.