Class RuleTypeId
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.RuleTypeId
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleTypeId.Builder,RuleTypeId>
@Generated("software.amazon.awssdk:codegen") public final class RuleTypeId extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleTypeId.Builder,RuleTypeId>
The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleTypeId.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleTypeId.Builderbuilder()RuleCategorycategory()A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.StringcategoryAsString()A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RuleOwnerowner()The creator of the rule being called.StringownerAsString()The creator of the rule being called.Stringprovider()The rule provider, such as theDeploymentWindowrule.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RuleTypeId.Builder>serializableBuilderClass()RuleTypeId.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringversion()A string that describes the rule version.-
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
-
category
public final RuleCategory category()
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is
Rule.If the service returns an enum value that is not available in the current SDK version,
categorywill returnRuleCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcategoryAsString().- Returns:
- A category defines what kind of rule can be run in the stage, and constrains the provider type for the
rule. The valid category is
Rule. - See Also:
RuleCategory
-
categoryAsString
public final String categoryAsString()
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is
Rule.If the service returns an enum value that is not available in the current SDK version,
categorywill returnRuleCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcategoryAsString().- Returns:
- A category defines what kind of rule can be run in the stage, and constrains the provider type for the
rule. The valid category is
Rule. - See Also:
RuleCategory
-
owner
public final RuleOwner owner()
The creator of the rule being called. The valid value for the
Ownerfield in the rule category isAWS.If the service returns an enum value that is not available in the current SDK version,
ownerwill returnRuleOwner.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromownerAsString().- Returns:
- The creator of the rule being called. The valid value for the
Ownerfield in the rule category isAWS. - See Also:
RuleOwner
-
ownerAsString
public final String ownerAsString()
The creator of the rule being called. The valid value for the
Ownerfield in the rule category isAWS.If the service returns an enum value that is not available in the current SDK version,
ownerwill returnRuleOwner.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromownerAsString().- Returns:
- The creator of the rule being called. The valid value for the
Ownerfield in the rule category isAWS. - See Also:
RuleOwner
-
provider
public final String provider()
The rule provider, such as the
DeploymentWindowrule.- Returns:
- The rule provider, such as the
DeploymentWindowrule.
-
version
public final String version()
A string that describes the rule version.
- Returns:
- A string that describes the rule version.
-
toBuilder
public RuleTypeId.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleTypeId.Builder,RuleTypeId>
-
builder
public static RuleTypeId.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleTypeId.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
-
-