C# Класс Amazon.CloudWatchLogs.Model.PutRetentionPolicyRequest

Container for the parameters to the PutRetentionPolicy operation. Sets the retention of the specified log group. A retention policy allows you to configure the number of days you want to retain log events in the specified log group.
Наследование: AmazonCloudWatchLogsRequest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PutRetentionPolicyRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

PutRetentionPolicyRequest ( string logGroupName, int retentionInDays ) : System

Instantiates PutRetentionPolicyRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetLogGroupName ( ) : bool
IsSetRetentionInDays ( ) : bool

Описание методов

PutRetentionPolicyRequest() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public PutRetentionPolicyRequest ( ) : System
Результат System

PutRetentionPolicyRequest() публичный Метод

Instantiates PutRetentionPolicyRequest with the parameterized properties
public PutRetentionPolicyRequest ( string logGroupName, int retentionInDays ) : System
logGroupName string The name of the log group.
retentionInDays int Sets the PutRetentionPolicyRequest RetentionInDays property
Результат System