Class RuleSummary
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.RuleSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleSummary.Builder,RuleSummary>
@Generated("software.amazon.awssdk:codegen") public final class RuleSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleSummary.Builder,RuleSummary>
The summary of the rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleActionaction()The action of the rule.StringactionAsString()The action of the rule.static RuleSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringidentifier()The ID of the rule.StringlastUpdatedBy()The timestamp at which the rule was last updated.Stringname()The name of the rule.Stringrevision()The revision of the rule.RuleTyperuleType()The type of the rule.StringruleTypeAsString()The type of the rule.RuleScopescope()The scope of the rule.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RuleSummary.Builder>serializableBuilderClass()RuleTargettarget()The target of the rule.RuleTargetTypetargetType()The target type of the rule.StringtargetTypeAsString()The target type of the rule.RuleSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The timestamp at which the rule was last updated.-
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
-
action
public final RuleAction action()
The action of the rule.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnRuleAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action of the rule.
- See Also:
RuleAction
-
actionAsString
public final String actionAsString()
The action of the rule.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnRuleAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action of the rule.
- See Also:
RuleAction
-
identifier
public final String identifier()
The ID of the rule.
- Returns:
- The ID of the rule.
-
lastUpdatedBy
public final String lastUpdatedBy()
The timestamp at which the rule was last updated.
- Returns:
- The timestamp at which the rule was last updated.
-
name
public final String name()
The name of the rule.
- Returns:
- The name of the rule.
-
revision
public final String revision()
The revision of the rule.
- Returns:
- The revision of the rule.
-
ruleType
public final RuleType ruleType()
The type of the rule.
If the service returns an enum value that is not available in the current SDK version,
ruleTypewill returnRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromruleTypeAsString().- Returns:
- The type of the rule.
- See Also:
RuleType
-
ruleTypeAsString
public final String ruleTypeAsString()
The type of the rule.
If the service returns an enum value that is not available in the current SDK version,
ruleTypewill returnRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromruleTypeAsString().- Returns:
- The type of the rule.
- See Also:
RuleType
-
scope
public final RuleScope scope()
The scope of the rule.
- Returns:
- The scope of the rule.
-
target
public final RuleTarget target()
The target of the rule.
- Returns:
- The target of the rule.
-
targetType
public final RuleTargetType targetType()
The target type of the rule.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnRuleTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The target type of the rule.
- See Also:
RuleTargetType
-
targetTypeAsString
public final String targetTypeAsString()
The target type of the rule.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnRuleTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The target type of the rule.
- See Also:
RuleTargetType
-
updatedAt
public final Instant updatedAt()
The timestamp at which the rule was last updated.
- Returns:
- The timestamp at which the rule was last updated.
-
toBuilder
public RuleSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleSummary.Builder,RuleSummary>
-
builder
public static RuleSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleSummary.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
-
-