@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
Condition.Builder |
Modifier and Type | Method and Description |
---|---|
static Condition.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobName()
The name of the Job to whose JobRuns this condition applies and on which this trigger waits.
|
LogicalOperator |
logicalOperator()
A logical operator.
|
String |
logicalOperatorAsString()
A logical operator.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Condition.Builder> |
serializableBuilderClass() |
JobRunState |
state()
The condition state.
|
String |
stateAsString()
The condition state.
|
Condition.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public LogicalOperator logicalOperator()
A logical operator.
If the service returns an enum value that is not available in the current SDK version, logicalOperator
will return LogicalOperator.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from logicalOperatorAsString()
.
LogicalOperator
public String logicalOperatorAsString()
A logical operator.
If the service returns an enum value that is not available in the current SDK version, logicalOperator
will return LogicalOperator.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from logicalOperatorAsString()
.
LogicalOperator
public String jobName()
The name of the Job to whose JobRuns this condition applies and on which this trigger waits.
public JobRunState state()
The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED.
If the service returns an enum value that is not available in the current SDK version, state
will return
JobRunState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
JobRunState
public String stateAsString()
The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED.
If the service returns an enum value that is not available in the current SDK version, state
will return
JobRunState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
JobRunState
public Condition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Condition.Builder,Condition>
public static Condition.Builder builder()
public static Class<? extends Condition.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.