@Generated(value="software.amazon.awssdk:codegen") public final class DeleteRuleRequest extends CloudWatchEventsRequest 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 String name()
The name of the rule.
public 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 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 CloudWatchEventsRequestpublic static DeleteRuleRequest.Builder builder()
public static Class<? extends DeleteRuleRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.