@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 using the QLDB API
or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false. The QLDB console disables deletion protection for you when you
use it to delete a ledger.
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 using the
QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the
UpdateLedger operation to set the flag to false. The QLDB console disables
deletion protection for you when you use it to delete a ledger.
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 using the QLDB API
or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false. The QLDB console disables deletion protection for you when you
use it to delete a ledger.
true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the
QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the
UpdateLedger operation to set the flag to false. The QLDB console disables
deletion protection for you when you use it to delete a ledger.
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 using the QLDB API
or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false. The QLDB console disables deletion protection for you when you
use it to delete a ledger.
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 using the
QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the
UpdateLedger operation to set the flag to false. The QLDB console disables
deletion protection for you when you use it to delete a ledger.
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 using the QLDB API
or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false. The QLDB console disables deletion protection for you when you
use it to delete a ledger.
true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the
QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the
UpdateLedger operation to set the flag to false. The QLDB console disables
deletion protection for you when you use it to delete a ledger.
public String toString()
toString in class ObjectObject.toString()public UpdateLedgerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.