Interface SessionLogger.Builder

  • Method Details

    • sessionLoggerArn

      SessionLogger.Builder sessionLoggerArn(String sessionLoggerArn)

      The ARN of the session logger resource.

      Parameters:
      sessionLoggerArn - The ARN of the session logger resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventFilter

      SessionLogger.Builder eventFilter(EventFilter eventFilter)

      The filter that specifies which events to monitor.

      Parameters:
      eventFilter - The filter that specifies which events to monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventFilter

      default SessionLogger.Builder eventFilter(Consumer<EventFilter.Builder> eventFilter)

      The filter that specifies which events to monitor.

      This is a convenience method that creates an instance of the EventFilter.Builder avoiding the need to create one manually via EventFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to eventFilter(EventFilter).

      Parameters:
      eventFilter - a consumer that will call methods on EventFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logConfiguration

      SessionLogger.Builder logConfiguration(LogConfiguration logConfiguration)

      The configuration that specifies where logs are fowarded.

      Parameters:
      logConfiguration - The configuration that specifies where logs are fowarded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfiguration

      default SessionLogger.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration)

      The configuration that specifies where logs are fowarded.

      This is a convenience method that creates an instance of the LogConfiguration.Builder avoiding the need to create one manually via LogConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logConfiguration(LogConfiguration).

      Parameters:
      logConfiguration - a consumer that will call methods on LogConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customerManagedKey

      SessionLogger.Builder customerManagedKey(String customerManagedKey)

      The custom managed key of the session logger.

      Parameters:
      customerManagedKey - The custom managed key of the session logger.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalEncryptionContext

      SessionLogger.Builder additionalEncryptionContext(Map<String,String> additionalEncryptionContext)

      The additional encryption context of the session logger.

      Parameters:
      additionalEncryptionContext - The additional encryption context of the session logger.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedPortalArns

      SessionLogger.Builder associatedPortalArns(Collection<String> associatedPortalArns)

      The associated portal ARN.

      Parameters:
      associatedPortalArns - The associated portal ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedPortalArns

      SessionLogger.Builder associatedPortalArns(String... associatedPortalArns)

      The associated portal ARN.

      Parameters:
      associatedPortalArns - The associated portal ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      SessionLogger.Builder displayName(String displayName)

      The human-readable display name.

      Parameters:
      displayName - The human-readable display name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      SessionLogger.Builder creationDate(Instant creationDate)

      The date the session logger resource was created.

      Parameters:
      creationDate - The date the session logger resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.