Interface ServiceMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceMetadata.Builder,
,ServiceMetadata> SdkBuilder<ServiceMetadata.Builder,
,ServiceMetadata> SdkPojo
- Enclosing class:
ServiceMetadata
@Mutable
@NotThreadSafe
public static interface ServiceMetadata.Builder
extends SdkPojo, CopyableBuilder<ServiceMetadata.Builder,ServiceMetadata>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServiceMetadata.Builder
userDetails
(Consumer<UserDetails.Builder> userDetails) The Server ID (ServerId
), Session ID (SessionId
) and user (UserName
) make up theUserDetails
.userDetails
(UserDetails userDetails) The Server ID (ServerId
), Session ID (SessionId
) and user (UserName
) make up theUserDetails
.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
-
userDetails
The Server ID (
ServerId
), Session ID (SessionId
) and user (UserName
) make up theUserDetails
.- Parameters:
userDetails
- The Server ID (ServerId
), Session ID (SessionId
) and user (UserName
) make up theUserDetails
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userDetails
The Server ID (
This is a convenience method that creates an instance of theServerId
), Session ID (SessionId
) and user (UserName
) make up theUserDetails
.UserDetails.Builder
avoiding the need to create one manually viaUserDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserDetails(UserDetails)
.- Parameters:
userDetails
- a consumer that will call methods onUserDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-