Interface SessionLoggerSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SessionLoggerSummary.Builder,
,SessionLoggerSummary> SdkBuilder<SessionLoggerSummary.Builder,
,SessionLoggerSummary> SdkPojo
- Enclosing class:
SessionLoggerSummary
@Mutable
@NotThreadSafe
public static interface SessionLoggerSummary.Builder
extends SdkPojo, CopyableBuilder<SessionLoggerSummary.Builder,SessionLoggerSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate
(Instant creationDate) The date the session logger resource was created.displayName
(String displayName) The human-readable display name.default SessionLoggerSummary.Builder
logConfiguration
(Consumer<LogConfiguration.Builder> logConfiguration) The configuration that specifies where the logs are fowarded.logConfiguration
(LogConfiguration logConfiguration) The configuration that specifies where the logs are fowarded.sessionLoggerArn
(String sessionLoggerArn) The ARN of the session logger resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.
-
logConfiguration
The configuration that specifies where the logs are fowarded.
- Parameters:
logConfiguration
- The configuration that specifies where the logs are fowarded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default SessionLoggerSummary.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) The configuration that specifies where the logs are fowarded.
This is a convenience method that creates an instance of theLogConfiguration.Builder
avoiding the need to create one manually viaLogConfiguration.builder()
.When the
Consumer
completes,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:
-
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.
-