Interface SnapshotUserConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotUserConfiguration.Builder,
,SnapshotUserConfiguration> SdkBuilder<SnapshotUserConfiguration.Builder,
,SnapshotUserConfiguration> SdkPojo
- Enclosing class:
SnapshotUserConfiguration
public static interface SnapshotUserConfiguration.Builder
extends SdkPojo, CopyableBuilder<SnapshotUserConfiguration.Builder,SnapshotUserConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionanonymousUsers
(Collection<SnapshotAnonymousUser> anonymousUsers) An array of records that describe the anonymous users that the dashboard snapshot is generated for.anonymousUsers
(Consumer<SnapshotAnonymousUser.Builder>... anonymousUsers) An array of records that describe the anonymous users that the dashboard snapshot is generated for.anonymousUsers
(SnapshotAnonymousUser... anonymousUsers) An array of records that describe the anonymous users that the dashboard snapshot is generated for.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, sdkFields
-
Method Details
-
anonymousUsers
An array of records that describe the anonymous users that the dashboard snapshot is generated for.
- Parameters:
anonymousUsers
- An array of records that describe the anonymous users that the dashboard snapshot is generated for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anonymousUsers
An array of records that describe the anonymous users that the dashboard snapshot is generated for.
- Parameters:
anonymousUsers
- An array of records that describe the anonymous users that the dashboard snapshot is generated for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anonymousUsers
SnapshotUserConfiguration.Builder anonymousUsers(Consumer<SnapshotAnonymousUser.Builder>... anonymousUsers) An array of records that describe the anonymous users that the dashboard snapshot is generated for.
This is a convenience method that creates an instance of theSnapshotAnonymousUser.Builder
avoiding the need to create one manually viaSnapshotAnonymousUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanonymousUsers(List<SnapshotAnonymousUser>)
.- Parameters:
anonymousUsers
- a consumer that will call methods onSnapshotAnonymousUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-