@Generated(value="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 CodeStarSourceConnection action type.
When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PipelineTriggerDeclaration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PipelineTriggerDeclaration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GitConfiguration |
gitConfiguration()
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git
tags.
|
int |
hashCode() |
PipelineTriggerProviderType |
providerType()
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
|
String |
providerTypeAsString()
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PipelineTriggerDeclaration.Builder> |
serializableBuilderClass() |
PipelineTriggerDeclaration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, providerType will
return PipelineTriggerProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from providerTypeAsString().
PipelineTriggerProviderTypepublic 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, providerType will
return PipelineTriggerProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from providerTypeAsString().
PipelineTriggerProviderTypepublic final GitConfiguration gitConfiguration()
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
public PipelineTriggerDeclaration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PipelineTriggerDeclaration.Builder,PipelineTriggerDeclaration>public static PipelineTriggerDeclaration.Builder builder()
public static Class<? extends PipelineTriggerDeclaration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.