Interface Authorization.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Authorization.Builder,,Authorization> SdkBuilder<Authorization.Builder,,Authorization> SdkPojo
- Enclosing class:
Authorization
@Mutable
@NotThreadSafe
public static interface Authorization.Builder
extends SdkPojo, CopyableBuilder<Authorization.Builder,Authorization>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Authorization.BuilderauthorizationConfig(Consumer<AuthorizationConfig.Builder> authorizationConfig) Sets the value of the AuthorizationConfig property for this object.authorizationConfig(AuthorizationConfig authorizationConfig) Sets the value of the AuthorizationConfig property for this object.fineGrainedAccessControl(String fineGrainedAccessControl) Whether access to individual products in the portal is controlled per reader.fineGrainedAccessControl(FineGrainedAccessControl fineGrainedAccessControl) Whether access to individual products in the portal is controlled per reader.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
-
authorizationConfig
Sets the value of the AuthorizationConfig property for this object.- Parameters:
authorizationConfig- The new value for the AuthorizationConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationConfig
default Authorization.Builder authorizationConfig(Consumer<AuthorizationConfig.Builder> authorizationConfig) Sets the value of the AuthorizationConfig property for this object. This is a convenience method that creates an instance of theAuthorizationConfig.Builderavoiding the need to create one manually viaAuthorizationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationConfig(AuthorizationConfig).- Parameters:
authorizationConfig- a consumer that will call methods onAuthorizationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fineGrainedAccessControl
Whether access to individual products in the portal is controlled per reader.
- Parameters:
fineGrainedAccessControl- Whether access to individual products in the portal is controlled per reader.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fineGrainedAccessControl
Whether access to individual products in the portal is controlled per reader.
- Parameters:
fineGrainedAccessControl- Whether access to individual products in the portal is controlled per reader.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-