@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteRuleRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEventBusName()
The event bus associated with the rule.
|
Boolean |
getForce()
If this is a managed rule, created by an AWS service on your behalf, you must specify
Force as
True to delete the rule. |
String |
getName()
The name of the rule.
|
int |
hashCode() |
Boolean |
isForce()
If this is a managed rule, created by an AWS service on your behalf, you must specify
Force as
True to delete the rule. |
void |
setEventBusName(String eventBusName)
The event bus associated with the rule.
|
void |
setForce(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. |
void |
setName(String name)
The name of the rule.
|
String |
toString()
Returns a string representation of this object.
|
DeleteRuleRequest |
withEventBusName(String eventBusName)
The event bus associated with the rule.
|
DeleteRuleRequest |
withForce(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. |
DeleteRuleRequest |
withName(String name)
The name of the rule.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the rule.
name
- The name of the rule.public String getName()
The name of the rule.
public DeleteRuleRequest withName(String name)
The name of the rule.
name
- The name of the rule.public void setEventBusName(String eventBusName)
The event bus associated with the rule. If you omit this, the default event bus is used.
eventBusName
- The event bus associated with the rule. If you omit this, the default event bus is used.public String getEventBusName()
The event bus associated with the rule. If you omit this, the default event bus is used.
public DeleteRuleRequest withEventBusName(String eventBusName)
The event bus associated with the rule. If you omit this, the default event bus is used.
eventBusName
- The event bus associated with the rule. If you omit this, the default event bus is used.public void setForce(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
- 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.public Boolean getForce()
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 withForce(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
- 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.public Boolean isForce()
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 String toString()
toString
in class Object
Object.toString()
public DeleteRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.