Interface CreateSessionLoggerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSessionLoggerRequest.Builder,
,CreateSessionLoggerRequest> SdkBuilder<CreateSessionLoggerRequest.Builder,
,CreateSessionLoggerRequest> SdkPojo
,SdkRequest.Builder
,WorkSpacesWebRequest.Builder
- Enclosing class:
CreateSessionLoggerRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext
(Map<String, String> additionalEncryptionContext) The additional encryption context of the session logger.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.customerManagedKey
(String customerManagedKey) The custom managed key of the session logger.displayName
(String displayName) The human-readable display name for the session logger resource.eventFilter
(Consumer<EventFilter.Builder> eventFilter) The filter that specifies the events to monitor.eventFilter
(EventFilter eventFilter) The filter that specifies the events to monitor.logConfiguration
(Consumer<LogConfiguration.Builder> logConfiguration) The configuration that specifies where logs are delivered.logConfiguration
(LogConfiguration logConfiguration) The configuration that specifies where logs are delivered.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) The tags to add to the session logger.tags
(Consumer<Tag.Builder>... tags) The tags to add to the session logger.The tags to add to the session logger.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebRequest.Builder
build
-
Method Details
-
eventFilter
The filter that specifies the events to monitor.
- Parameters:
eventFilter
- The filter that specifies the events to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventFilter
The filter that specifies the events to monitor.
This is a convenience method that creates an instance of theEventFilter.Builder
avoiding the need to create one manually viaEventFilter.builder()
.When the
Consumer
completes,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 delivered.
- Parameters:
logConfiguration
- The configuration that specifies where logs are delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default CreateSessionLoggerRequest.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) The configuration that specifies where logs are delivered.
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 for the session logger resource.
- Parameters:
displayName
- The human-readable display name for the session logger resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
CreateSessionLoggerRequest.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.
-
tags
The tags to add to the session logger.
- Parameters:
tags
- The tags to add to the session logger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the session logger.
- Parameters:
tags
- The tags to add to the session logger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the session logger.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. If you do not specify a client token, one is automatically generated by the AWS SDK.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. If you do not specify a client token, one is automatically generated by the AWS SDK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSessionLoggerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSessionLoggerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-