@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLedgerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateLedgerRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateLedgerRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDeletionProtection()
The flag that prevents a ledger from being deleted by any user.
|
String |
getName()
The name of the ledger.
|
int |
hashCode() |
Boolean |
isDeletionProtection()
The flag that prevents a ledger from being deleted by any user.
|
void |
setDeletionProtection(Boolean deletionProtection)
The flag that prevents a ledger from being deleted by any user.
|
void |
setName(String name)
The name of the ledger.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLedgerRequest |
withDeletionProtection(Boolean deletionProtection)
The flag that prevents a ledger from being deleted by any user.
|
UpdateLedgerRequest |
withName(String name)
The name of the ledger.
|
addHandlerContext, copyBaseTo, 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 ledger.
name - The name of the ledger.public String getName()
The name of the ledger.
public UpdateLedgerRequest withName(String name)
The name of the ledger.
name - The name of the ledger.public void setDeletionProtection(Boolean deletionProtection)
The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature
is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it
by calling the UpdateLedger operation to set the flag to false.
deletionProtection - The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this
feature is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can
disable it by calling the UpdateLedger operation to set the flag to false.
public Boolean getDeletionProtection()
The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature
is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it
by calling the UpdateLedger operation to set the flag to false.
true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can
disable it by calling the UpdateLedger operation to set the flag to false.
public UpdateLedgerRequest withDeletionProtection(Boolean deletionProtection)
The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature
is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it
by calling the UpdateLedger operation to set the flag to false.
deletionProtection - The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this
feature is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can
disable it by calling the UpdateLedger operation to set the flag to false.
public Boolean isDeletionProtection()
The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature
is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it
by calling the UpdateLedger operation to set the flag to false.
true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can
disable it by calling the UpdateLedger operation to set the flag to false.
public String toString()
toString in class ObjectObject.toString()public UpdateLedgerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.