Class UpdateRuleResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.datazone.model.DataZoneResponse
-
- software.amazon.awssdk.services.datazone.model.UpdateRuleResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateRuleResponse.Builder,UpdateRuleResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateRuleResponse extends DataZoneResponse implements ToCopyableBuilder<UpdateRuleResponse.Builder,UpdateRuleResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateRuleResponse.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 UpdateRuleResponse.Builderbuilder()InstantcreatedAt()The timestamp at which the rule was created.StringcreatedBy()The user who created the rule.Stringdescription()The description of the rule.RuleDetaildetail()The detail of the rule.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 UpdateRuleResponse.Builder>serializableBuilderClass()RuleTargettarget()The target of the rule.UpdateRuleResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The timestamp at which the rule was last updated.-
Methods inherited from class software.amazon.awssdk.services.datazone.model.DataZoneResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
createdAt
public final Instant createdAt()
The timestamp at which the rule was created.
- Returns:
- The timestamp at which the rule was created.
-
createdBy
public final String createdBy()
The user who created the rule.
- Returns:
- The user who created the rule.
-
description
public final String description()
The description of the rule.
- Returns:
- The description of the rule.
-
detail
public final RuleDetail detail()
The detail of the rule.
- Returns:
- The detail of the rule.
-
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.
-
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 UpdateRuleResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateRuleResponse.Builder,UpdateRuleResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateRuleResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateRuleResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-