Interface SessionLogger.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SessionLogger.Builder,,SessionLogger> SdkBuilder<SessionLogger.Builder,,SessionLogger> SdkPojo
- Enclosing class:
SessionLogger
-
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) The additional encryption context of the session logger.associatedPortalArns(String... associatedPortalArns) The associated portal ARN.associatedPortalArns(Collection<String> associatedPortalArns) The associated portal ARN.creationDate(Instant creationDate) The date the session logger resource was created.customerManagedKey(String customerManagedKey) The custom managed key of the session logger.displayName(String displayName) The human-readable display name.default SessionLogger.BuildereventFilter(Consumer<EventFilter.Builder> eventFilter) The filter that specifies which events to monitor.eventFilter(EventFilter eventFilter) The filter that specifies which events to monitor.default SessionLogger.BuilderlogConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) The configuration that specifies where logs are fowarded.logConfiguration(LogConfiguration logConfiguration) The configuration that specifies where logs are fowarded.sessionLoggerArn(String sessionLoggerArn) The ARN of the session logger resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
The filter that specifies which events to monitor.
This is a convenience method that creates an instance of theEventFilter.Builderavoiding the need to create one manually viaEventFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventFilter(EventFilter).- Parameters:
eventFilter- a consumer that will call methods onEventFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The configuration that specifies where logs are fowarded.
This is a convenience method that creates an instance of theLogConfiguration.Builderavoiding the need to create one manually viaLogConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologConfiguration(LogConfiguration).- Parameters:
logConfiguration- a consumer that will call methods onLogConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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.
-