Class Trigger
java.lang.Object
software.amazon.awssdk.services.devopsagent.model.Trigger
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Trigger.Builder,Trigger>
@Generated("software.amazon.awssdk:codegen")
public final class Trigger
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<Trigger.Builder,Trigger>
A Trigger fires on a schedule and invokes an agent
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Documentaction()The action this Trigger performs when it firesfinal StringThe agent space this Trigger belongs tostatic Trigger.Builderbuilder()final TriggerConditionThe condition that fires this Triggerfinal InstantTimestamp when this Trigger was createdfinal booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends Trigger.Builder> final Stringstatus()The status of this TriggerTake this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe unique identifier for this Triggerfinal Stringtype()How this Trigger firesfinal InstantTimestamp when this Trigger was last updatedMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
triggerId
The unique identifier for this Trigger
- Returns:
- The unique identifier for this Trigger
-
agentSpaceId
The agent space this Trigger belongs to
- Returns:
- The agent space this Trigger belongs to
-
type
-
condition
The condition that fires this Trigger
- Returns:
- The condition that fires this Trigger
-
action
The action this Trigger performs when it fires
- Returns:
- The action this Trigger performs when it fires
-
status
-
createdAt
Timestamp when this Trigger was created
- Returns:
- Timestamp when this Trigger was created
-
updatedAt
Timestamp when this Trigger was last updated
- Returns:
- Timestamp when this Trigger was last updated
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Trigger.Builder,Trigger> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-