Interface SubscribedPrincipal.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SubscribedPrincipal.Builder,SubscribedPrincipal>,SdkBuilder<SubscribedPrincipal.Builder,SubscribedPrincipal>,SdkPojo
- Enclosing class:
- SubscribedPrincipal
public static interface SubscribedPrincipal.Builder extends SdkPojo, CopyableBuilder<SubscribedPrincipal.Builder,SubscribedPrincipal>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SubscribedPrincipal.Builderproject(Consumer<SubscribedProject.Builder> project)The project that has the subscription grant.SubscribedPrincipal.Builderproject(SubscribedProject project)The project that has the subscription grant.-
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, sdkFields
-
-
-
-
Method Detail
-
project
SubscribedPrincipal.Builder project(SubscribedProject project)
The project that has the subscription grant.
- Parameters:
project- The project that has the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
default SubscribedPrincipal.Builder project(Consumer<SubscribedProject.Builder> project)
The project that has the subscription grant.
This is a convenience method that creates an instance of theSubscribedProject.Builderavoiding the need to create one manually viaSubscribedProject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproject(SubscribedProject).- Parameters:
project- a consumer that will call methods onSubscribedProject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
project(SubscribedProject)
-
-