Interface ServiceMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceMetadata.Builder,,ServiceMetadata> SdkBuilder<ServiceMetadata.Builder,,ServiceMetadata> SdkPojo
- Enclosing class:
ServiceMetadata
public static interface ServiceMetadata.Builder
extends SdkPojo, CopyableBuilder<ServiceMetadata.Builder,ServiceMetadata>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServiceMetadata.BuilderuserDetails(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaUserDetails.builder().When the
Consumercompletes,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:
-