Interface SubscribedPrincipalInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SubscribedPrincipalInput.Builder,,SubscribedPrincipalInput> SdkBuilder<SubscribedPrincipalInput.Builder,,SubscribedPrincipalInput> SdkPojo
- Enclosing class:
SubscribedPrincipalInput
public static interface SubscribedPrincipalInput.Builder
extends SdkPojo, CopyableBuilder<SubscribedPrincipalInput.Builder,SubscribedPrincipalInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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
-
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:
-