@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLedgerPermissionsModeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateLedgerPermissionsModeResult() |
Modifier and Type | Method and Description |
---|---|
UpdateLedgerPermissionsModeResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the ledger.
|
String |
getName()
The name of the ledger.
|
String |
getPermissionsMode()
The current permissions mode of the ledger.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the ledger.
|
void |
setName(String name)
The name of the ledger.
|
void |
setPermissionsMode(String permissionsMode)
The current permissions mode of the ledger.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLedgerPermissionsModeResult |
withArn(String arn)
The Amazon Resource Name (ARN) for the ledger.
|
UpdateLedgerPermissionsModeResult |
withName(String name)
The name of the ledger.
|
UpdateLedgerPermissionsModeResult |
withPermissionsMode(PermissionsMode permissionsMode)
The current permissions mode of the ledger.
|
UpdateLedgerPermissionsModeResult |
withPermissionsMode(String permissionsMode)
The current permissions mode of the ledger.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the ledger.
name
- The name of the ledger.public String getName()
The name of the ledger.
public UpdateLedgerPermissionsModeResult withName(String name)
The name of the ledger.
name
- The name of the ledger.public void setArn(String arn)
The Amazon Resource Name (ARN) for the ledger.
arn
- The Amazon Resource Name (ARN) for the ledger.public String getArn()
The Amazon Resource Name (ARN) for the ledger.
public UpdateLedgerPermissionsModeResult withArn(String arn)
The Amazon Resource Name (ARN) for the ledger.
arn
- The Amazon Resource Name (ARN) for the ledger.public void setPermissionsMode(String permissionsMode)
The current permissions mode of the ledger.
permissionsMode
- The current permissions mode of the ledger.PermissionsMode
public String getPermissionsMode()
The current permissions mode of the ledger.
PermissionsMode
public UpdateLedgerPermissionsModeResult withPermissionsMode(String permissionsMode)
The current permissions mode of the ledger.
permissionsMode
- The current permissions mode of the ledger.PermissionsMode
public UpdateLedgerPermissionsModeResult withPermissionsMode(PermissionsMode permissionsMode)
The current permissions mode of the ledger.
permissionsMode
- The current permissions mode of the ledger.PermissionsMode
public String toString()
toString
in class Object
Object.toString()
public UpdateLedgerPermissionsModeResult clone()