Class RuleState
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.RuleState
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleState.Builder,RuleState>
@Generated("software.amazon.awssdk:codegen") public final class RuleState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleState.Builder,RuleState>
Returns information about the state of a rule.
Values returned in the
revisionIdfield indicate the rule revision information, such as the commit ID, for the current state.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleState.Builderbuilder()RuleRevisioncurrentRevision()The ID of the current revision of the artifact successfully worked on by the job.StringentityUrl()A URL link for more information about the state of the action, such as a details page.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RuleExecutionlatestExecution()Represents information about the latest run of an rule.StringrevisionUrl()A URL link for more information about the revision, such as a commit details page.StringruleName()The name of the rule.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RuleState.Builder>serializableBuilderClass()RuleState.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
-
ruleName
public final String ruleName()
The name of the rule.
- Returns:
- The name of the rule.
-
currentRevision
public final RuleRevision currentRevision()
The ID of the current revision of the artifact successfully worked on by the job.
- Returns:
- The ID of the current revision of the artifact successfully worked on by the job.
-
latestExecution
public final RuleExecution latestExecution()
Represents information about the latest run of an rule.
- Returns:
- Represents information about the latest run of an rule.
-
entityUrl
public final String entityUrl()
A URL link for more information about the state of the action, such as a details page.
- Returns:
- A URL link for more information about the state of the action, such as a details page.
-
revisionUrl
public final String revisionUrl()
A URL link for more information about the revision, such as a commit details page.
- Returns:
- A URL link for more information about the revision, such as a commit details page.
-
toBuilder
public RuleState.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleState.Builder,RuleState>
-
builder
public static RuleState.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleState.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
-
-