@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateArchiveRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Updates the specified archive rule.
NOOP
Constructor and Description |
---|
UpdateArchiveRuleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateArchiveRuleRequest |
addFilterEntry(String key,
Criterion value)
Add a single Filter entry
|
UpdateArchiveRuleRequest |
clearFilterEntries()
Removes all the entries added into Filter.
|
UpdateArchiveRuleRequest |
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 analyzer to update the archive rules for.
|
String |
getClientToken()
A client token.
|
Map<String,Criterion> |
getFilter()
A filter to match for the rules to update.
|
String |
getRuleName()
The name of the rule to update.
|
int |
hashCode() |
void |
setAnalyzerName(String analyzerName)
The name of the analyzer to update the archive rules for.
|
void |
setClientToken(String clientToken)
A client token.
|
void |
setFilter(Map<String,Criterion> filter)
A filter to match for the rules to update.
|
void |
setRuleName(String ruleName)
The name of the rule to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateArchiveRuleRequest |
withAnalyzerName(String analyzerName)
The name of the analyzer to update the archive rules for.
|
UpdateArchiveRuleRequest |
withClientToken(String clientToken)
A client token.
|
UpdateArchiveRuleRequest |
withFilter(Map<String,Criterion> filter)
A filter to match for the rules to update.
|
UpdateArchiveRuleRequest |
withRuleName(String ruleName)
The name of the rule to update.
|
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 setAnalyzerName(String analyzerName)
The name of the analyzer to update the archive rules for.
analyzerName
- The name of the analyzer to update the archive rules for.public String getAnalyzerName()
The name of the analyzer to update the archive rules for.
public UpdateArchiveRuleRequest withAnalyzerName(String analyzerName)
The name of the analyzer to update the archive rules for.
analyzerName
- The name of the analyzer to update the archive rules for.public void setRuleName(String ruleName)
The name of the rule to update.
ruleName
- The name of the rule to update.public String getRuleName()
The name of the rule to update.
public UpdateArchiveRuleRequest withRuleName(String ruleName)
The name of the rule to update.
ruleName
- The name of the rule to update.public Map<String,Criterion> getFilter()
A filter to match for the rules to update. Only rules that match the filter are updated.
public void setFilter(Map<String,Criterion> filter)
A filter to match for the rules to update. Only rules that match the filter are updated.
filter
- A filter to match for the rules to update. Only rules that match the filter are updated.public UpdateArchiveRuleRequest withFilter(Map<String,Criterion> filter)
A filter to match for the rules to update. Only rules that match the filter are updated.
filter
- A filter to match for the rules to update. Only rules that match the filter are updated.public UpdateArchiveRuleRequest addFilterEntry(String key, Criterion value)
public UpdateArchiveRuleRequest clearFilterEntries()
public void setClientToken(String clientToken)
A client token.
clientToken
- A client token.public String getClientToken()
A client token.
public UpdateArchiveRuleRequest withClientToken(String clientToken)
A client token.
clientToken
- A client token.public String toString()
toString
in class Object
Object.toString()
public UpdateArchiveRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()