Class RuleDetail
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.RuleDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleDetail.Builder,RuleDetail>
@Generated("software.amazon.awssdk:codegen") public final class RuleDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleDetail.Builder,RuleDetail>
The details of a rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleDetail.Builderstatic classRuleDetail.Type
-
Method Summary
-
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
-
metadataFormEnforcementDetail
public final MetadataFormEnforcementDetail metadataFormEnforcementDetail()
The enforcement detail of the metadata form.
- Returns:
- The enforcement detail of the metadata form.
-
toBuilder
public RuleDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleDetail.Builder,RuleDetail>
-
builder
public static RuleDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleDetail.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.
-
fromMetadataFormEnforcementDetail
public static RuleDetail fromMetadataFormEnforcementDetail(MetadataFormEnforcementDetail metadataFormEnforcementDetail)
Create an instance of this class withmetadataFormEnforcementDetail()initialized to the given value.The enforcement detail of the metadata form.
- Parameters:
metadataFormEnforcementDetail- The enforcement detail of the metadata form.
-
fromMetadataFormEnforcementDetail
public static RuleDetail fromMetadataFormEnforcementDetail(Consumer<MetadataFormEnforcementDetail.Builder> metadataFormEnforcementDetail)
Create an instance of this class withmetadataFormEnforcementDetail()initialized to the given value.The enforcement detail of the metadata form.
- Parameters:
metadataFormEnforcementDetail- The enforcement detail of the metadata form.
-
type
public RuleDetail.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beRuleDetail.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beRuleDetail.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-