Interface UpdateConnectionRecordingPreferencesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateConnectionRecordingPreferencesRequest.Builder,
,UpdateConnectionRecordingPreferencesRequest> SdkBuilder<UpdateConnectionRecordingPreferencesRequest.Builder,
,UpdateConnectionRecordingPreferencesRequest> SdkPojo
,SdkRequest.Builder
,SsmGuiConnectRequest.Builder
- Enclosing class:
UpdateConnectionRecordingPreferencesRequest
@Mutable
@NotThreadSafe
public static interface UpdateConnectionRecordingPreferencesRequest.Builder
extends SsmGuiConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateConnectionRecordingPreferencesRequest.Builder,UpdateConnectionRecordingPreferencesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) User-provided idempotency token.connectionRecordingPreferences
(Consumer<ConnectionRecordingPreferences.Builder> connectionRecordingPreferences) The set of preferences used for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region.connectionRecordingPreferences
(ConnectionRecordingPreferences connectionRecordingPreferences) The set of preferences used for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.ssmguiconnect.model.SsmGuiConnectRequest.Builder
build
-
Method Details
-
clientToken
User-provided idempotency token.
- Parameters:
clientToken
- User-provided idempotency token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionRecordingPreferences
UpdateConnectionRecordingPreferencesRequest.Builder connectionRecordingPreferences(ConnectionRecordingPreferences connectionRecordingPreferences) The set of preferences used for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region. This includes details such as which S3 bucket recordings are stored in.
- Parameters:
connectionRecordingPreferences
- The set of preferences used for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region. This includes details such as which S3 bucket recordings are stored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionRecordingPreferences
default UpdateConnectionRecordingPreferencesRequest.Builder connectionRecordingPreferences(Consumer<ConnectionRecordingPreferences.Builder> connectionRecordingPreferences) The set of preferences used for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region. This includes details such as which S3 bucket recordings are stored in.
This is a convenience method that creates an instance of theConnectionRecordingPreferences.Builder
avoiding the need to create one manually viaConnectionRecordingPreferences.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionRecordingPreferences(ConnectionRecordingPreferences)
.- Parameters:
connectionRecordingPreferences
- a consumer that will call methods onConnectionRecordingPreferences.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateConnectionRecordingPreferencesRequest.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
UpdateConnectionRecordingPreferencesRequest.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.
-