Class CreateRuleResponse
- 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.CreateRuleResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateRuleResponse extends DataZoneResponse implements ToCopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateRuleResponse.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 CreateRuleResponse.Builderbuilder()InstantcreatedAt()The timestamp at which the rule is created.StringcreatedBy()The user who creates 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.Stringname()The name 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 CreateRuleResponse.Builder>serializableBuilderClass()RuleTargettarget()The target of the rule.RuleTargetTypetargetType()The target type of the rule.StringtargetTypeAsString()The target type of the rule.CreateRuleResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 is created.
- Returns:
- The timestamp at which the rule is created.
-
createdBy
public final String createdBy()
The user who creates the rule.
- Returns:
- The user who creates 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.
-
name
public final String name()
The name of the rule.
- Returns:
- The name 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
-
toBuilder
public CreateRuleResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateRuleResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateRuleResponse.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
-
-