Interface BatchIsAuthorizedWithTokenInputItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchIsAuthorizedWithTokenInputItem.Builder,
,BatchIsAuthorizedWithTokenInputItem> SdkBuilder<BatchIsAuthorizedWithTokenInputItem.Builder,
,BatchIsAuthorizedWithTokenInputItem> SdkPojo
- Enclosing class:
BatchIsAuthorizedWithTokenInputItem
-
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.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
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 Details
-
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
default BatchIsAuthorizedWithTokenInputItem.Builder action(Consumer<ActionIdentifier.Builder> action) Specifies the requested action to be authorized. For example,
This is a convenience method that creates an instance of thePhotoFlash::ReadPhoto
.ActionIdentifier.Builder
avoiding the need to create one manually viaActionIdentifier.builder()
.When the
Consumer
completes,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
default BatchIsAuthorizedWithTokenInputItem.Builder resource(Consumer<EntityIdentifier.Builder> 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.Builder
avoiding the need to create one manually viaEntityIdentifier.builder()
.When the
Consumer
completes,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
default BatchIsAuthorizedWithTokenInputItem.Builder context(Consumer<ContextDefinition.Builder> 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.Builder
avoiding the need to create one manually viaContextDefinition.builder()
.When the
Consumer
completes,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:
-