@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
EnableRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnableRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEventBusName()
The name or ARN of the event bus associated with the rule.
|
String |
getName()
The name of the rule.
|
int |
hashCode() |
void |
setEventBusName(String eventBusName)
The name or ARN of the event bus associated with the rule.
|
void |
setName(String name)
The name of the rule.
|
String |
toString()
Returns a string representation of this object.
|
EnableRuleRequest |
withEventBusName(String eventBusName)
The name or ARN of the event bus associated with the rule.
|
EnableRuleRequest |
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, withSdkRequestTimeoutpublic void setName(String name)
The name of the rule.
name - The name of the rule.public String getName()
The name of the rule.
public EnableRuleRequest withName(String name)
The name of the rule.
name - The name of the rule.public void setEventBusName(String eventBusName)
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
eventBusName - The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is
used.public String getEventBusName()
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
public EnableRuleRequest withEventBusName(String eventBusName)
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
eventBusName - The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is
used.public String toString()
toString in class ObjectObject.toString()public EnableRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()