Class Condition
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.Condition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Condition.Builder,Condition>
@Generated("software.amazon.awssdk:codegen") public final class Condition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Condition.Builder,Condition>
Defines a condition under which a trigger fires.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCondition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Condition.Builderbuilder()StringcrawlerName()The name of the crawler to which this condition applies.CrawlStatecrawlState()The state of the crawler to which this condition applies.StringcrawlStateAsString()The state of the crawler to which this condition applies.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobName()The name of the job whoseJobRunsthis condition applies to, and on which this trigger waits.LogicalOperatorlogicalOperator()A logical operator.StringlogicalOperatorAsString()A logical operator.List<SdkField<?>>sdkFields()static Class<? extends Condition.Builder>serializableBuilderClass()JobRunStatestate()The condition state.StringstateAsString()The condition state.Condition.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
-
logicalOperator
public final LogicalOperator logicalOperator()
A logical operator.
If the service returns an enum value that is not available in the current SDK version,
logicalOperatorwill returnLogicalOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogicalOperatorAsString().- Returns:
- A logical operator.
- See Also:
LogicalOperator
-
logicalOperatorAsString
public final String logicalOperatorAsString()
A logical operator.
If the service returns an enum value that is not available in the current SDK version,
logicalOperatorwill returnLogicalOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogicalOperatorAsString().- Returns:
- A logical operator.
- See Also:
LogicalOperator
-
jobName
public final String jobName()
The name of the job whose
JobRunsthis condition applies to, and on which this trigger waits.- Returns:
- The name of the job whose
JobRunsthis condition applies to, and on which this trigger waits.
-
state
public final JobRunState state()
The condition state. Currently, the only job states that a trigger can listen for are
SUCCEEDED,STOPPED,FAILED, andTIMEOUT. The only crawler states that a trigger can listen for areSUCCEEDED,FAILED, andCANCELLED.If the service returns an enum value that is not available in the current SDK version,
statewill returnJobRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The condition state. Currently, the only job states that a trigger can listen for are
SUCCEEDED,STOPPED,FAILED, andTIMEOUT. The only crawler states that a trigger can listen for areSUCCEEDED,FAILED, andCANCELLED. - See Also:
JobRunState
-
stateAsString
public final String stateAsString()
The condition state. Currently, the only job states that a trigger can listen for are
SUCCEEDED,STOPPED,FAILED, andTIMEOUT. The only crawler states that a trigger can listen for areSUCCEEDED,FAILED, andCANCELLED.If the service returns an enum value that is not available in the current SDK version,
statewill returnJobRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The condition state. Currently, the only job states that a trigger can listen for are
SUCCEEDED,STOPPED,FAILED, andTIMEOUT. The only crawler states that a trigger can listen for areSUCCEEDED,FAILED, andCANCELLED. - See Also:
JobRunState
-
crawlerName
public final String crawlerName()
The name of the crawler to which this condition applies.
- Returns:
- The name of the crawler to which this condition applies.
-
crawlState
public final CrawlState crawlState()
The state of the crawler to which this condition applies.
If the service returns an enum value that is not available in the current SDK version,
crawlStatewill returnCrawlState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcrawlStateAsString().- Returns:
- The state of the crawler to which this condition applies.
- See Also:
CrawlState
-
crawlStateAsString
public final String crawlStateAsString()
The state of the crawler to which this condition applies.
If the service returns an enum value that is not available in the current SDK version,
crawlStatewill returnCrawlState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcrawlStateAsString().- Returns:
- The state of the crawler to which this condition applies.
- See Also:
CrawlState
-
toBuilder
public Condition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Condition.Builder,Condition>
-
builder
public static Condition.Builder builder()
-
serializableBuilderClass
public static Class<? extends Condition.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.
-
-