Interface PrincipalSearchResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrincipalSearchResult.Builder,,PrincipalSearchResult> SdkBuilder<PrincipalSearchResult.Builder,,PrincipalSearchResult> SdkPojo
- Enclosing class:
PrincipalSearchResult
@Mutable
@NotThreadSafe
public static interface PrincipalSearchResult.Builder
extends SdkPojo, CopyableBuilder<PrincipalSearchResult.Builder,PrincipalSearchResult>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) An optional description of the principal.displayName(String displayName) The display name of the principal.principalId(String principalId) The unique ID of the principal.principalType(String principalType) Whether the principal is a user or a group.principalType(PrincipalType principalType) Whether the principal is a user or a group.The user name of the principal.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, sdkFieldNameToField, sdkFields
-
Method Details
-
principalId
The unique ID of the principal.
- Parameters:
principalId- The unique ID of the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalType
Whether the principal is a user or a group.
- Parameters:
principalType- Whether the principal is a user or a group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principalType
Whether the principal is a user or a group.
- Parameters:
principalType- Whether the principal is a user or a group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayName
The display name of the principal.
- Parameters:
displayName- The display name of the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
The user name of the principal. Present for users only.
- Parameters:
userName- The user name of the principal. Present for users only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description of the principal.
- Parameters:
description- An optional description of the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-