Interface BatchIsAuthorizedInputItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchIsAuthorizedInputItem.Builder,,BatchIsAuthorizedInputItem> SdkBuilder<BatchIsAuthorizedInputItem.Builder,,BatchIsAuthorizedInputItem> SdkPojo
- Enclosing class:
BatchIsAuthorizedInputItem
-
Method Summary
Modifier and TypeMethodDescriptionaction(Consumer<ActionIdentifier.Builder> action) Specifies the requested action to be authorized.action(ActionIdentifier action) Specifies the requested action to be authorized.context(Consumer<ContextDefinition.Builder> context) Specifies additional context that can be used to make more granular authorization decisions.context(ContextDefinition context) Specifies additional context that can be used to make more granular authorization decisions.principal(Consumer<EntityIdentifier.Builder> principal) Specifies the principal for which the authorization decision is to be made.principal(EntityIdentifier principal) Specifies the principal for which the authorization decision is to be made.resource(Consumer<EntityIdentifier.Builder> resource) Specifies the resource that you want an authorization decision for.resource(EntityIdentifier resource) Specifies the resource that you want an authorization decision for.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
-
principal
Specifies the principal for which the authorization decision is to be made.
- Parameters:
principal- Specifies the principal for which the authorization decision is to be made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
Specifies the principal for which the authorization decision is to be made.
This is a convenience method that creates an instance of theEntityIdentifier.Builderavoiding the need to create one manually viaEntityIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(EntityIdentifier).- Parameters:
principal- a consumer that will call methods onEntityIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Specifies the requested action to be authorized. For example,
PhotoFlash::ReadPhoto.- Parameters:
action- Specifies the requested action to be authorized. For example,PhotoFlash::ReadPhoto.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Specifies the requested action to be authorized. For example,
This is a convenience method that creates an instance of thePhotoFlash::ReadPhoto.ActionIdentifier.Builderavoiding the need to create one manually viaActionIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(ActionIdentifier).- Parameters:
action- a consumer that will call methods onActionIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resource
Specifies the resource that you want an authorization decision for. For example,
PhotoFlash::Photo.- Parameters:
resource- Specifies the resource that you want an authorization decision for. For example,PhotoFlash::Photo.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Specifies the resource that you want an authorization decision for. For example,
This is a convenience method that creates an instance of thePhotoFlash::Photo.EntityIdentifier.Builderavoiding the need to create one manually viaEntityIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(EntityIdentifier).- Parameters:
resource- a consumer that will call methods onEntityIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
context
Specifies additional context that can be used to make more granular authorization decisions.
- Parameters:
context- Specifies additional context that can be used to make more granular authorization decisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
Specifies additional context that can be used to make more granular authorization decisions.
This is a convenience method that creates an instance of theContextDefinition.Builderavoiding the need to create one manually viaContextDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontext(ContextDefinition).- Parameters:
context- a consumer that will call methods onContextDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-