@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LockRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
LockRuleRequest() |
Modifier and Type | Method and Description |
---|---|
LockRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIdentifier()
The unique ID of the retention rule.
|
LockConfiguration |
getLockConfiguration()
Information about the retention rule lock configuration.
|
int |
hashCode() |
void |
setIdentifier(String identifier)
The unique ID of the retention rule.
|
void |
setLockConfiguration(LockConfiguration lockConfiguration)
Information about the retention rule lock configuration.
|
String |
toString()
Returns a string representation of this object.
|
LockRuleRequest |
withIdentifier(String identifier)
The unique ID of the retention rule.
|
LockRuleRequest |
withLockConfiguration(LockConfiguration lockConfiguration)
Information about the retention rule lock configuration.
|
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 setIdentifier(String identifier)
The unique ID of the retention rule.
identifier
- The unique ID of the retention rule.public String getIdentifier()
The unique ID of the retention rule.
public LockRuleRequest withIdentifier(String identifier)
The unique ID of the retention rule.
identifier
- The unique ID of the retention rule.public void setLockConfiguration(LockConfiguration lockConfiguration)
Information about the retention rule lock configuration.
lockConfiguration
- Information about the retention rule lock configuration.public LockConfiguration getLockConfiguration()
Information about the retention rule lock configuration.
public LockRuleRequest withLockConfiguration(LockConfiguration lockConfiguration)
Information about the retention rule lock configuration.
lockConfiguration
- Information about the retention rule lock configuration.public String toString()
toString
in class Object
Object.toString()
public LockRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()