@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleTypeId extends Object implements Serializable, Cloneable, StructuredPojo
The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
| Constructor and Description |
|---|
RuleTypeId() |
| Modifier and Type | Method and Description |
|---|---|
RuleTypeId |
clone() |
boolean |
equals(Object obj) |
String |
getCategory()
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.
|
String |
getOwner()
The creator of the rule being called.
|
String |
getProvider()
The provider of the service being called by the rule.
|
String |
getVersion()
A string that describes the rule version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCategory(String category)
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.
|
void |
setOwner(String owner)
The creator of the rule being called.
|
void |
setProvider(String provider)
The provider of the service being called by the rule.
|
void |
setVersion(String version)
A string that describes the rule version.
|
String |
toString()
Returns a string representation of this object.
|
RuleTypeId |
withCategory(RuleCategory category)
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.
|
RuleTypeId |
withCategory(String category)
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.
|
RuleTypeId |
withOwner(RuleOwner owner)
The creator of the rule being called.
|
RuleTypeId |
withOwner(String owner)
The creator of the rule being called.
|
RuleTypeId |
withProvider(String provider)
The provider of the service being called by the rule.
|
RuleTypeId |
withVersion(String version)
A string that describes the rule version.
|
public void setCategory(String category)
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. Valid categories are limited to one of the following values.
INVOKE
Approval
Rule
category - A category defines what kind of rule can be run in the stage, and constrains the provider type for the
rule. Valid categories are limited to one of the following values.
INVOKE
Approval
Rule
RuleCategorypublic String getCategory()
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. Valid categories are limited to one of the following values.
INVOKE
Approval
Rule
INVOKE
Approval
Rule
RuleCategorypublic RuleTypeId withCategory(String category)
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. Valid categories are limited to one of the following values.
INVOKE
Approval
Rule
category - A category defines what kind of rule can be run in the stage, and constrains the provider type for the
rule. Valid categories are limited to one of the following values.
INVOKE
Approval
Rule
RuleCategorypublic RuleTypeId withCategory(RuleCategory category)
A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. Valid categories are limited to one of the following values.
INVOKE
Approval
Rule
category - A category defines what kind of rule can be run in the stage, and constrains the provider type for the
rule. Valid categories are limited to one of the following values.
INVOKE
Approval
Rule
RuleCategorypublic void setOwner(String owner)
The creator of the rule being called. The valid value for the Owner field in the rule category is
AWS.
owner - The creator of the rule being called. The valid value for the Owner field in the rule
category is AWS.RuleOwnerpublic String getOwner()
The creator of the rule being called. The valid value for the Owner field in the rule category is
AWS.
Owner field in the rule
category is AWS.RuleOwnerpublic RuleTypeId withOwner(String owner)
The creator of the rule being called. The valid value for the Owner field in the rule category is
AWS.
owner - The creator of the rule being called. The valid value for the Owner field in the rule
category is AWS.RuleOwnerpublic RuleTypeId withOwner(RuleOwner owner)
The creator of the rule being called. The valid value for the Owner field in the rule category is
AWS.
owner - The creator of the rule being called. The valid value for the Owner field in the rule
category is AWS.RuleOwnerpublic void setProvider(String provider)
The provider of the service being called by the rule. Valid providers are determined by the rulecategory. For
example, a managed rule in the Rule category type has an owner of AWS, which would be specified as
AWS.
provider - The provider of the service being called by the rule. Valid providers are determined by the rulecategory.
For example, a managed rule in the Rule category type has an owner of AWS, which would be specified as
AWS.public String getProvider()
The provider of the service being called by the rule. Valid providers are determined by the rulecategory. For
example, a managed rule in the Rule category type has an owner of AWS, which would be specified as
AWS.
AWS.public RuleTypeId withProvider(String provider)
The provider of the service being called by the rule. Valid providers are determined by the rulecategory. For
example, a managed rule in the Rule category type has an owner of AWS, which would be specified as
AWS.
provider - The provider of the service being called by the rule. Valid providers are determined by the rulecategory.
For example, a managed rule in the Rule category type has an owner of AWS, which would be specified as
AWS.public void setVersion(String version)
A string that describes the rule version.
version - A string that describes the rule version.public String getVersion()
A string that describes the rule version.
public RuleTypeId withVersion(String version)
A string that describes the rule version.
version - A string that describes the rule version.public String toString()
toString in class ObjectObject.toString()public RuleTypeId clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.