Interface SubscribedPrincipalInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SubscribedPrincipalInput.Builder,,SubscribedPrincipalInput> SdkBuilder<SubscribedPrincipalInput.Builder,,SubscribedPrincipalInput> SdkPojo
- Enclosing class:
SubscribedPrincipalInput
@Mutable
@NotThreadSafe
public static interface SubscribedPrincipalInput.Builder
extends SdkPojo, CopyableBuilder<SubscribedPrincipalInput.Builder,SubscribedPrincipalInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SubscribedPrincipalInput.BuilderThe subscribed group.group(SubscribedGroupInput group) The subscribed group.default SubscribedPrincipalInput.Builderproject(Consumer<SubscribedProjectInput.Builder> project) The project that is to be given a subscription grant.project(SubscribedProjectInput project) The project that is to be given a subscription grant.default SubscribedPrincipalInput.BuilderThe subscribed user.user(SubscribedUserInput user) The subscribed user.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
-
group
The subscribed group.
- Parameters:
group- The subscribed group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
The subscribed group.
This is a convenience method that creates an instance of theSubscribedGroupInput.Builderavoiding the need to create one manually viaSubscribedGroupInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroup(SubscribedGroupInput).- Parameters:
group- a consumer that will call methods onSubscribedGroupInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
project
The project that is to be given a subscription grant.
- Parameters:
project- The project that is to be given a subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The project that is to be given a subscription grant.
This is a convenience method that creates an instance of theSubscribedProjectInput.Builderavoiding the need to create one manually viaSubscribedProjectInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproject(SubscribedProjectInput).- Parameters:
project- a consumer that will call methods onSubscribedProjectInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
user
The subscribed user.
- Parameters:
user- The subscribed user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
The subscribed user.
This is a convenience method that creates an instance of theSubscribedUserInput.Builderavoiding the need to create one manually viaSubscribedUserInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(SubscribedUserInput).- Parameters:
user- a consumer that will call methods onSubscribedUserInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-