@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateArchiveRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates an archive rule.
NOOP| Constructor and Description |
|---|
CreateArchiveRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateArchiveRuleRequest |
addFilterEntry(String key,
Criterion value)
Add a single Filter entry
|
CreateArchiveRuleRequest |
clearFilterEntries()
Removes all the entries added into Filter.
|
CreateArchiveRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAnalyzerName()
The name of the created analyzer.
|
String |
getClientToken()
A client token.
|
Map<String,Criterion> |
getFilter()
The criteria for the rule.
|
String |
getRuleName()
The name of the rule to create.
|
int |
hashCode() |
void |
setAnalyzerName(String analyzerName)
The name of the created analyzer.
|
void |
setClientToken(String clientToken)
A client token.
|
void |
setFilter(Map<String,Criterion> filter)
The criteria for the rule.
|
void |
setRuleName(String ruleName)
The name of the rule to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateArchiveRuleRequest |
withAnalyzerName(String analyzerName)
The name of the created analyzer.
|
CreateArchiveRuleRequest |
withClientToken(String clientToken)
A client token.
|
CreateArchiveRuleRequest |
withFilter(Map<String,Criterion> filter)
The criteria for the rule.
|
CreateArchiveRuleRequest |
withRuleName(String ruleName)
The name of the rule to create.
|
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 setAnalyzerName(String analyzerName)
The name of the created analyzer.
analyzerName - The name of the created analyzer.public String getAnalyzerName()
The name of the created analyzer.
public CreateArchiveRuleRequest withAnalyzerName(String analyzerName)
The name of the created analyzer.
analyzerName - The name of the created analyzer.public void setRuleName(String ruleName)
The name of the rule to create.
ruleName - The name of the rule to create.public String getRuleName()
The name of the rule to create.
public CreateArchiveRuleRequest withRuleName(String ruleName)
The name of the rule to create.
ruleName - The name of the rule to create.public Map<String,Criterion> getFilter()
The criteria for the rule.
public void setFilter(Map<String,Criterion> filter)
The criteria for the rule.
filter - The criteria for the rule.public CreateArchiveRuleRequest withFilter(Map<String,Criterion> filter)
The criteria for the rule.
filter - The criteria for the rule.public CreateArchiveRuleRequest addFilterEntry(String key, Criterion value)
public CreateArchiveRuleRequest clearFilterEntries()
public void setClientToken(String clientToken)
A client token.
clientToken - A client token.public String getClientToken()
A client token.
public CreateArchiveRuleRequest withClientToken(String clientToken)
A client token.
clientToken - A client token.public String toString()
toString in class ObjectObject.toString()public CreateArchiveRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()