@Generated(value="software.amazon.awssdk:codegen") public final class DeleteRuleRequest extends EventBridgeRequest implements ToCopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteRuleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventBusName()
The name or ARN of the event bus associated with the rule.
|
Boolean |
force()
If this is a managed rule, created by an AWS service on your behalf, you must specify
Force as
True to delete the rule. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteRuleRequest.Builder> |
serializableBuilderClass() |
DeleteRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the rule.
public final String eventBusName()
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
public final Boolean force()
If this is a managed rule, created by an AWS service on your behalf, you must specify Force as
True to 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 using DescribeRule or ListRules and checking
the ManagedBy field of the response.
Force
as True to 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 using DescribeRule or
ListRules and checking the ManagedBy field of the response.public DeleteRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>toBuilder in class EventBridgeRequestpublic static DeleteRuleRequest.Builder builder()
public static Class<? extends DeleteRuleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.