Class RepositorySyncEvent
- java.lang.Object
-
- software.amazon.awssdk.services.proton.model.RepositorySyncEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RepositorySyncEvent.Builder,RepositorySyncEvent>
@Generated("software.amazon.awssdk:codegen") public final class RepositorySyncEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositorySyncEvent.Builder,RepositorySyncEvent>
Repository sync event detail data for a sync attempt.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepositorySyncEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RepositorySyncEvent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringevent()Event detail for a repository sync attempt.StringexternalId()The external ID of the sync event.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RepositorySyncEvent.Builder>serializableBuilderClass()Instanttime()The time that the sync event occurred.RepositorySyncEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of event.-
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
-
event
public final String event()
Event detail for a repository sync attempt.
- Returns:
- Event detail for a repository sync attempt.
-
externalId
public final String externalId()
The external ID of the sync event.
- Returns:
- The external ID of the sync event.
-
time
public final Instant time()
The time that the sync event occurred.
- Returns:
- The time that the sync event occurred.
-
type
public final String type()
The type of event.
- Returns:
- The type of event.
-
toBuilder
public RepositorySyncEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RepositorySyncEvent.Builder,RepositorySyncEvent>
-
builder
public static RepositorySyncEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends RepositorySyncEvent.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.
-
-