Interface RoleAssociationEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RoleAssociationEntry.Builder,,RoleAssociationEntry> SdkBuilder<RoleAssociationEntry.Builder,,RoleAssociationEntry> SdkPojo
- Enclosing class:
RoleAssociationEntry
@Mutable
@NotThreadSafe
public static interface RoleAssociationEntry.Builder
extends SdkPojo, CopyableBuilder<RoleAssociationEntry.Builder,RoleAssociationEntry>
-
Method Summary
Modifier and TypeMethodDescriptionprincipals(Collection<PrincipalOutput> principals) The principals associated with the role type.principals(Consumer<PrincipalOutput.Builder>... principals) The principals associated with the role type.principals(PrincipalOutput... principals) The principals associated with the role type.The system-defined role.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
-
roleType
The system-defined role.
- Parameters:
roleType- The system-defined role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The principals associated with the role type.
- Parameters:
principals- The principals associated with the role type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The principals associated with the role type.
- Parameters:
principals- The principals associated with the role type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The principals associated with the role type.
This is a convenience method that creates an instance of thePrincipalOutput.Builderavoiding the need to create one manually viaPrincipalOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipals(List<PrincipalOutput>).- Parameters:
principals- a consumer that will call methods onPrincipalOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-