@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WindowsAuditLogConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. For more information, see File access auditing.
Constructor and Description |
---|
WindowsAuditLogConfiguration() |
Modifier and Type | Method and Description |
---|---|
WindowsAuditLogConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAuditLogDestination()
The Amazon Resource Name (ARN) for the destination of the audit logs.
|
String |
getFileAccessAuditLogLevel()
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
|
String |
getFileShareAccessAuditLogLevel()
Sets which attempt type is logged by Amazon FSx for file share accesses.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuditLogDestination(String auditLogDestination)
The Amazon Resource Name (ARN) for the destination of the audit logs.
|
void |
setFileAccessAuditLogLevel(String fileAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
|
void |
setFileShareAccessAuditLogLevel(String fileShareAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file share accesses.
|
String |
toString()
Returns a string representation of this object.
|
WindowsAuditLogConfiguration |
withAuditLogDestination(String auditLogDestination)
The Amazon Resource Name (ARN) for the destination of the audit logs.
|
WindowsAuditLogConfiguration |
withFileAccessAuditLogLevel(String fileAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
|
WindowsAuditLogConfiguration |
withFileAccessAuditLogLevel(WindowsAccessAuditLogLevel fileAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
|
WindowsAuditLogConfiguration |
withFileShareAccessAuditLogLevel(String fileShareAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file share accesses.
|
WindowsAuditLogConfiguration |
withFileShareAccessAuditLogLevel(WindowsAccessAuditLogLevel fileShareAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file share accesses.
|
public void setFileAccessAuditLogLevel(String fileAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
SUCCESS_ONLY
- only successful attempts to access files or folders are logged.
FAILURE_ONLY
- only failed attempts to access files or folders are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access files or folders are
logged.
DISABLED
- access auditing of files and folders is turned off.
fileAccessAuditLogLevel
- Sets which attempt type is logged by Amazon FSx for file and folder accesses.
SUCCESS_ONLY
- only successful attempts to access files or folders are logged.
FAILURE_ONLY
- only failed attempts to access files or folders are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access files or folders
are logged.
DISABLED
- access auditing of files and folders is turned off.
WindowsAccessAuditLogLevel
public String getFileAccessAuditLogLevel()
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
SUCCESS_ONLY
- only successful attempts to access files or folders are logged.
FAILURE_ONLY
- only failed attempts to access files or folders are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access files or folders are
logged.
DISABLED
- access auditing of files and folders is turned off.
SUCCESS_ONLY
- only successful attempts to access files or folders are logged.
FAILURE_ONLY
- only failed attempts to access files or folders are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access files or
folders are logged.
DISABLED
- access auditing of files and folders is turned off.
WindowsAccessAuditLogLevel
public WindowsAuditLogConfiguration withFileAccessAuditLogLevel(String fileAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
SUCCESS_ONLY
- only successful attempts to access files or folders are logged.
FAILURE_ONLY
- only failed attempts to access files or folders are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access files or folders are
logged.
DISABLED
- access auditing of files and folders is turned off.
fileAccessAuditLogLevel
- Sets which attempt type is logged by Amazon FSx for file and folder accesses.
SUCCESS_ONLY
- only successful attempts to access files or folders are logged.
FAILURE_ONLY
- only failed attempts to access files or folders are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access files or folders
are logged.
DISABLED
- access auditing of files and folders is turned off.
WindowsAccessAuditLogLevel
public WindowsAuditLogConfiguration withFileAccessAuditLogLevel(WindowsAccessAuditLogLevel fileAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
SUCCESS_ONLY
- only successful attempts to access files or folders are logged.
FAILURE_ONLY
- only failed attempts to access files or folders are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access files or folders are
logged.
DISABLED
- access auditing of files and folders is turned off.
fileAccessAuditLogLevel
- Sets which attempt type is logged by Amazon FSx for file and folder accesses.
SUCCESS_ONLY
- only successful attempts to access files or folders are logged.
FAILURE_ONLY
- only failed attempts to access files or folders are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access files or folders
are logged.
DISABLED
- access auditing of files and folders is turned off.
WindowsAccessAuditLogLevel
public void setFileShareAccessAuditLogLevel(String fileShareAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file share accesses.
SUCCESS_ONLY
- only successful attempts to access file shares are logged.
FAILURE_ONLY
- only failed attempts to access file shares are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are logged.
DISABLED
- access auditing of file shares is turned off.
fileShareAccessAuditLogLevel
- Sets which attempt type is logged by Amazon FSx for file share accesses.
SUCCESS_ONLY
- only successful attempts to access file shares are logged.
FAILURE_ONLY
- only failed attempts to access file shares are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are
logged.
DISABLED
- access auditing of file shares is turned off.
WindowsAccessAuditLogLevel
public String getFileShareAccessAuditLogLevel()
Sets which attempt type is logged by Amazon FSx for file share accesses.
SUCCESS_ONLY
- only successful attempts to access file shares are logged.
FAILURE_ONLY
- only failed attempts to access file shares are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are logged.
DISABLED
- access auditing of file shares is turned off.
SUCCESS_ONLY
- only successful attempts to access file shares are logged.
FAILURE_ONLY
- only failed attempts to access file shares are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are
logged.
DISABLED
- access auditing of file shares is turned off.
WindowsAccessAuditLogLevel
public WindowsAuditLogConfiguration withFileShareAccessAuditLogLevel(String fileShareAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file share accesses.
SUCCESS_ONLY
- only successful attempts to access file shares are logged.
FAILURE_ONLY
- only failed attempts to access file shares are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are logged.
DISABLED
- access auditing of file shares is turned off.
fileShareAccessAuditLogLevel
- Sets which attempt type is logged by Amazon FSx for file share accesses.
SUCCESS_ONLY
- only successful attempts to access file shares are logged.
FAILURE_ONLY
- only failed attempts to access file shares are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are
logged.
DISABLED
- access auditing of file shares is turned off.
WindowsAccessAuditLogLevel
public WindowsAuditLogConfiguration withFileShareAccessAuditLogLevel(WindowsAccessAuditLogLevel fileShareAccessAuditLogLevel)
Sets which attempt type is logged by Amazon FSx for file share accesses.
SUCCESS_ONLY
- only successful attempts to access file shares are logged.
FAILURE_ONLY
- only failed attempts to access file shares are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are logged.
DISABLED
- access auditing of file shares is turned off.
fileShareAccessAuditLogLevel
- Sets which attempt type is logged by Amazon FSx for file share accesses.
SUCCESS_ONLY
- only successful attempts to access file shares are logged.
FAILURE_ONLY
- only failed attempts to access file shares are logged.
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are
logged.
DISABLED
- access auditing of file shares is turned off.
WindowsAccessAuditLogLevel
public void setAuditLogDestination(String auditLogDestination)
The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN.
The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx
prefix. The name of
the Amazon Kinesis Data Firehouse delivery stream must begin with the aws-fsx
prefix.
The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
auditLogDestination
- The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon
CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN.
The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx
prefix. The
name of the Amazon Kinesis Data Firehouse delivery stream must begin with the aws-fsx
prefix.
The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
public String getAuditLogDestination()
The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN.
The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx
prefix. The name of
the Amazon Kinesis Data Firehouse delivery stream must begin with the aws-fsx
prefix.
The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx
prefix. The
name of the Amazon Kinesis Data Firehouse delivery stream must begin with the aws-fsx
prefix.
The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
public WindowsAuditLogConfiguration withAuditLogDestination(String auditLogDestination)
The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN.
The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx
prefix. The name of
the Amazon Kinesis Data Firehouse delivery stream must begin with the aws-fsx
prefix.
The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
auditLogDestination
- The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon
CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN.
The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx
prefix. The
name of the Amazon Kinesis Data Firehouse delivery stream must begin with the aws-fsx
prefix.
The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
public String toString()
toString
in class Object
Object.toString()
public WindowsAuditLogConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.