Class RepositorySyncDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.codestarconnections.model.RepositorySyncDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RepositorySyncDefinition.Builder,RepositorySyncDefinition>
@Generated("software.amazon.awssdk:codegen") public final class RepositorySyncDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositorySyncDefinition.Builder,RepositorySyncDefinition>
The definition for a repository with a sync configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepositorySyncDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbranch()The branch specified for a repository sync definition.static RepositorySyncDefinition.Builderbuilder()Stringdirectory()The configuration file for a repository sync definition.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringparent()The parent resource specified for a repository sync definition.List<SdkField<?>>sdkFields()static Class<? extends RepositorySyncDefinition.Builder>serializableBuilderClass()Stringtarget()The target resource specified for a repository sync definition.RepositorySyncDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
branch
public final String branch()
The branch specified for a repository sync definition.
- Returns:
- The branch specified for a repository sync definition.
-
directory
public final String directory()
The configuration file for a repository sync definition. This value comes from creating or updating the
config-filefield of async-configuration.- Returns:
- The configuration file for a repository sync definition. This value comes from creating or updating the
config-filefield of async-configuration.
-
parent
public final String parent()
The parent resource specified for a repository sync definition.
- Returns:
- The parent resource specified for a repository sync definition.
-
target
public final 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.
- Returns:
- 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.
-
toBuilder
public RepositorySyncDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RepositorySyncDefinition.Builder,RepositorySyncDefinition>
-
builder
public static RepositorySyncDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends RepositorySyncDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-