Class DeleteRuleRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest
software.amazon.awssdk.services.eventbridge.model.DeleteRuleRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>
@Generated("software.amazon.awssdk:codegen")
public final class DeleteRuleRequest
extends EventBridgeRequest
implements ToCopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteRuleRequest.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe name or ARN of the event bus associated with the rule.final Booleanforce()If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specifyForceasTrueto delete the rule.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the rule.static Class<? extends DeleteRuleRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the rule.
- Returns:
- The name of the rule.
-
eventBusName
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
- Returns:
- The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
-
force
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
ForceasTrueto delete the rule. This parameter is ignored for rules that are not managed rules. You can check whether a rule is a managed rule by usingDescribeRuleorListRulesand checking theManagedByfield of the response.- Returns:
- If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
ForceasTrueto delete the rule. This parameter is ignored for rules that are not managed rules. You can check whether a rule is a managed rule by usingDescribeRuleorListRulesand checking theManagedByfield of the response.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest> - Specified by:
toBuilderin classEventBridgeRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-