Class PipelineTriggerDeclaration
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.PipelineTriggerDeclaration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PipelineTriggerDeclaration.Builder,PipelineTriggerDeclaration>
@Generated("software.amazon.awssdk:codegen") public final class PipelineTriggerDeclaration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipelineTriggerDeclaration.Builder,PipelineTriggerDeclaration>
Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.
This is only supported for the
CodeStarSourceConnectionaction type.When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePipelineTriggerDeclaration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PipelineTriggerDeclaration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)GitConfigurationgitConfiguration()Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.inthashCode()PipelineTriggerProviderTypeproviderType()The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.StringproviderTypeAsString()The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PipelineTriggerDeclaration.Builder>serializableBuilderClass()PipelineTriggerDeclaration.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
-
providerType
public final PipelineTriggerProviderType providerType()
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
If the service returns an enum value that is not available in the current SDK version,
providerTypewill returnPipelineTriggerProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderTypeAsString().- Returns:
- The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
- See Also:
PipelineTriggerProviderType
-
providerTypeAsString
public final String providerTypeAsString()
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
If the service returns an enum value that is not available in the current SDK version,
providerTypewill returnPipelineTriggerProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderTypeAsString().- Returns:
- The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
- See Also:
PipelineTriggerProviderType
-
gitConfiguration
public final GitConfiguration gitConfiguration()
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
- Returns:
- Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
-
toBuilder
public PipelineTriggerDeclaration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PipelineTriggerDeclaration.Builder,PipelineTriggerDeclaration>
-
builder
public static PipelineTriggerDeclaration.Builder builder()
-
serializableBuilderClass
public static Class<? extends PipelineTriggerDeclaration.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-