Interface LogGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LogGroup.Builder,LogGroup>, SdkBuilder<LogGroup.Builder,LogGroup>, SdkPojo
Enclosing class:
LogGroup

public static interface LogGroup.Builder extends SdkPojo, CopyableBuilder<LogGroup.Builder,LogGroup>
  • Method Details

    • logGroupName

      LogGroup.Builder logGroupName(String logGroupName)

      The name of the log group.

      Parameters:
      logGroupName - The name of the log group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      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.

      Parameters:
      creationTime - The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retentionInDays

      LogGroup.Builder retentionInDays(Integer retentionInDays)
      Sets the value of the RetentionInDays property for this object.
      Parameters:
      retentionInDays - The new value for the RetentionInDays property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricFilterCount

      LogGroup.Builder metricFilterCount(Integer metricFilterCount)

      The number of metric filters.

      Parameters:
      metricFilterCount - The number of metric filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the log group.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the log group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storedBytes

      LogGroup.Builder storedBytes(Long storedBytes)

      The number of bytes stored.

      Parameters:
      storedBytes - The number of bytes stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      LogGroup.Builder kmsKeyId(String kmsKeyId)

      The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.

      Parameters:
      kmsKeyId - The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataProtectionStatus

      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.

      Parameters:
      dataProtectionStatus - Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataProtectionStatus

      LogGroup.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.

      Parameters:
      dataProtectionStatus - Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inheritedPropertiesWithStrings

      LogGroup.Builder inheritedPropertiesWithStrings(Collection<String> inheritedProperties)

      Displays all the properties that this log group has inherited from account-level settings.

      Parameters:
      inheritedProperties - Displays all the properties that this log group has inherited from account-level settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inheritedPropertiesWithStrings

      LogGroup.Builder inheritedPropertiesWithStrings(String... inheritedProperties)

      Displays all the properties that this log group has inherited from account-level settings.

      Parameters:
      inheritedProperties - Displays all the properties that this log group has inherited from account-level settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inheritedProperties

      LogGroup.Builder inheritedProperties(Collection<InheritedProperty> inheritedProperties)

      Displays all the properties that this log group has inherited from account-level settings.

      Parameters:
      inheritedProperties - Displays all the properties that this log group has inherited from account-level settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inheritedProperties

      LogGroup.Builder inheritedProperties(InheritedProperty... inheritedProperties)

      Displays all the properties that this log group has inherited from account-level settings.

      Parameters:
      inheritedProperties - Displays all the properties that this log group has inherited from account-level settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.