@Generated(value="software.amazon.awssdk:codegen") public final class Condition extends Object implements StructuredPojo, 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 in question.
|
LogicalOperator |
logicalOperator()
A logical operator.
|
String |
logicalOperatorAsString()
A logical operator.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 in question.
public JobRunState state()
The condition state.
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.
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.