public static interface LogGroup.Builder extends SdkPojo, CopyableBuilder<LogGroup.Builder,LogGroup>
| Modifier and Type | Method and Description |
|---|---|
LogGroup.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the log group.
|
LogGroup.Builder |
creationTime(Long creationTime)
The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
LogGroup.Builder |
dataProtectionStatus(DataProtectionStatus dataProtectionStatus)
Displays whether this log group has a protection policy, or whether it had one in the past.
|
LogGroup.Builder |
dataProtectionStatus(String dataProtectionStatus)
Displays whether this log group has a protection policy, or whether it had one in the past.
|
LogGroup.Builder |
inheritedProperties(Collection<InheritedProperty> inheritedProperties)
Displays all the properties that this log group has inherited from account-level settings.
|
LogGroup.Builder |
inheritedProperties(InheritedProperty... inheritedProperties)
Displays all the properties that this log group has inherited from account-level settings.
|
LogGroup.Builder |
inheritedPropertiesWithStrings(Collection<String> inheritedProperties)
Displays all the properties that this log group has inherited from account-level settings.
|
LogGroup.Builder |
inheritedPropertiesWithStrings(String... inheritedProperties)
Displays all the properties that this log group has inherited from account-level settings.
|
LogGroup.Builder |
kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.
|
LogGroup.Builder |
logGroupName(String logGroupName)
The name of the log group.
|
LogGroup.Builder |
metricFilterCount(Integer metricFilterCount)
The number of metric filters.
|
LogGroup.Builder |
retentionInDays(Integer retentionInDays)
Sets the value of the RetentionInDays property for this object.
|
LogGroup.Builder |
storedBytes(Long storedBytes)
The number of bytes stored.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLogGroup.Builder logGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.LogGroup.Builder creationTime(Long creationTime)
The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
creationTime - The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.LogGroup.Builder retentionInDays(Integer retentionInDays)
retentionInDays - The new value for the RetentionInDays property for this object.LogGroup.Builder metricFilterCount(Integer metricFilterCount)
The number of metric filters.
metricFilterCount - The number of metric filters.LogGroup.Builder arn(String arn)
The Amazon Resource Name (ARN) of the log group.
arn - The Amazon Resource Name (ARN) of the log group.LogGroup.Builder storedBytes(Long storedBytes)
The number of bytes stored.
storedBytes - The number of bytes stored.LogGroup.Builder kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.
kmsKeyId - The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.LogGroup.Builder dataProtectionStatus(String dataProtectionStatus)
Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy.
dataProtectionStatus - Displays whether this log group has a protection policy, or whether it had one in the past. For more
information, see PutDataProtectionPolicy.DataProtectionStatus,
DataProtectionStatusLogGroup.Builder dataProtectionStatus(DataProtectionStatus dataProtectionStatus)
Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy.
dataProtectionStatus - Displays whether this log group has a protection policy, or whether it had one in the past. For more
information, see PutDataProtectionPolicy.DataProtectionStatus,
DataProtectionStatusLogGroup.Builder inheritedPropertiesWithStrings(Collection<String> inheritedProperties)
Displays all the properties that this log group has inherited from account-level settings.
inheritedProperties - Displays all the properties that this log group has inherited from account-level settings.LogGroup.Builder inheritedPropertiesWithStrings(String... inheritedProperties)
Displays all the properties that this log group has inherited from account-level settings.
inheritedProperties - Displays all the properties that this log group has inherited from account-level settings.LogGroup.Builder inheritedProperties(Collection<InheritedProperty> inheritedProperties)
Displays all the properties that this log group has inherited from account-level settings.
inheritedProperties - Displays all the properties that this log group has inherited from account-level settings.LogGroup.Builder inheritedProperties(InheritedProperty... inheritedProperties)
Displays all the properties that this log group has inherited from account-level settings.
inheritedProperties - Displays all the properties that this log group has inherited from account-level settings.Copyright © 2023. All rights reserved.