public class CreateAuditRequest extends AbstractModel
Constructor and Description |
---|
CreateAuditRequest() |
CreateAuditRequest(CreateAuditRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuditName()
Get Tracking set name, which can contain 3–128 ASCII letters (a–z; A–Z), digits (0–9), and underscores (_).
|
String |
getCmqQueueName()
Get Queue name, which must begin with a letter and can contain up to 64 letters, digits, and dashes (-).
|
String |
getCmqRegion()
Get Region where the queue is located.
|
String |
getCosBucketName()
Get User-defined COS bucket name, which can only contain 1–40 lowercase letters (a–z), digits (0–9), and dashes (-) and cannot begin or end with "-".
|
String |
getCosRegion()
Get COS region.
|
Long |
getIsCreateNewBucket()
Get Whether to create a COS bucket.
|
Long |
getIsCreateNewQueue()
Get Whether to create a queue.
|
Long |
getIsEnableCmqNotify()
Get Whether to enable CMQ message notification.
|
Long |
getIsEnableKmsEncry()
Get Whether to enable KMS encryption.
|
String |
getKeyId()
Get Globally unique ID of the CMK.
|
String |
getKmsRegion()
Get KMS region.
|
String |
getLogFilePrefix()
Get Log file prefix, which can only contain 3–40 ASCII letters (a–z; A–Z) and digits (0–9).
|
Long |
getReadWriteAttribute()
Get Manages the read/write attribute of event.
|
void |
setAuditName(String AuditName)
Set Tracking set name, which can contain 3–128 ASCII letters (a–z; A–Z), digits (0–9), and underscores (_).
|
void |
setCmqQueueName(String CmqQueueName)
Set Queue name, which must begin with a letter and can contain up to 64 letters, digits, and dashes (-).
|
void |
setCmqRegion(String CmqRegion)
Set Region where the queue is located.
|
void |
setCosBucketName(String CosBucketName)
Set User-defined COS bucket name, which can only contain 1–40 lowercase letters (a–z), digits (0–9), and dashes (-) and cannot begin or end with "-".
|
void |
setCosRegion(String CosRegion)
Set COS region.
|
void |
setIsCreateNewBucket(Long IsCreateNewBucket)
Set Whether to create a COS bucket.
|
void |
setIsCreateNewQueue(Long IsCreateNewQueue)
Set Whether to create a queue.
|
void |
setIsEnableCmqNotify(Long IsEnableCmqNotify)
Set Whether to enable CMQ message notification.
|
void |
setIsEnableKmsEncry(Long IsEnableKmsEncry)
Set Whether to enable KMS encryption.
|
void |
setKeyId(String KeyId)
Set Globally unique ID of the CMK.
|
void |
setKmsRegion(String KmsRegion)
Set KMS region.
|
void |
setLogFilePrefix(String LogFilePrefix)
Set Log file prefix, which can only contain 3–40 ASCII letters (a–z; A–Z) and digits (0–9).
|
void |
setReadWriteAttribute(Long ReadWriteAttribute)
Set Manages the read/write attribute of event.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateAuditRequest()
public CreateAuditRequest(CreateAuditRequest source)
public Long getIsEnableCmqNotify()
public void setIsEnableCmqNotify(Long IsEnableCmqNotify)
IsEnableCmqNotify
- Whether to enable CMQ message notification. 1: Yes; 0: No. Only CMQ queue service is currently supported. If CMQ message notification is enabled, CloudAudit will deliver your log contents to the designated queue in the specified region in real time.public Long getReadWriteAttribute()
public void setReadWriteAttribute(Long ReadWriteAttribute)
ReadWriteAttribute
- Manages the read/write attribute of event. Valid values: 1 (read-only), 2 (write-only), 3 (read/write).public String getAuditName()
public void setAuditName(String AuditName)
AuditName
- Tracking set name, which can contain 3–128 ASCII letters (a–z; A–Z), digits (0–9), and underscores (_).public String getCosRegion()
public void setCosRegion(String CosRegion)
CosRegion
- COS region. Supported regions can be queried through the `ListCosEnableRegion` API.public Long getIsCreateNewBucket()
public void setIsCreateNewBucket(Long IsCreateNewBucket)
IsCreateNewBucket
- Whether to create a COS bucket. 1: Yes; 0: No.public String getCosBucketName()
public void setCosBucketName(String CosBucketName)
CosBucketName
- User-defined COS bucket name, which can only contain 1–40 lowercase letters (a–z), digits (0–9), and dashes (-) and cannot begin or end with "-". If a bucket is not newly created, CloudAudit will not verify whether it actually exists. Enter the name with caution to avoid log delivery failure and consequent data loss.public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- Globally unique ID of the CMK. This value is required if it is not a newly created KMS element. It can be obtained through `ListKeyAliasByRegion`. CloudAudit will not verify the validity of the `KeyId`. Enter it carefully to avoid data loss.public String getCmqQueueName()
public void setCmqQueueName(String CmqQueueName)
CmqQueueName
- Queue name, which must begin with a letter and can contain up to 64 letters, digits, and dashes (-). This field is required if the value of `IsEnableCmqNotify` is 1. If a queue is not newly created, CloudAudit will not verify whether it actually exists. Enter the name with caution to avoid log delivery failure and consequent data loss.public String getKmsRegion()
public void setKmsRegion(String KmsRegion)
KmsRegion
- KMS region. Currently supported regions can be obtained through `ListKmsEnableRegion`. This must be the same as the COS region.public Long getIsEnableKmsEncry()
public void setIsEnableKmsEncry(Long IsEnableKmsEncry)
IsEnableKmsEncry
- Whether to enable KMS encryption. 1: Yes, 0: No. If KMS encryption is enabled, the data will be encrypted when delivered to COS.public String getCmqRegion()
public void setCmqRegion(String CmqRegion)
CmqRegion
- Region where the queue is located. Supported CMQ regions can be queried through the `ListCmqEnableRegion` API. This field is required if the value of `IsEnableCmqNotify` is 1.public String getLogFilePrefix()
public void setLogFilePrefix(String LogFilePrefix)
LogFilePrefix
- Log file prefix, which can only contain 3–40 ASCII letters (a–z; A–Z) and digits (0–9). It can be left empty and is the account ID by default.public Long getIsCreateNewQueue()
public void setIsCreateNewQueue(Long IsCreateNewQueue)
IsCreateNewQueue
- Whether to create a queue. 1: Yes; 0: No. This field is required if the value of `IsEnableCmqNotify` is 1.Copyright © 2023. All rights reserved.