Interface BatchIsAuthorizedWithTokenInputItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchIsAuthorizedWithTokenInputItem.Builder,BatchIsAuthorizedWithTokenInputItem>,SdkBuilder<BatchIsAuthorizedWithTokenInputItem.Builder,BatchIsAuthorizedWithTokenInputItem>,SdkPojo
- Enclosing class:
- BatchIsAuthorizedWithTokenInputItem
public static interface BatchIsAuthorizedWithTokenInputItem.Builder extends SdkPojo, CopyableBuilder<BatchIsAuthorizedWithTokenInputItem.Builder,BatchIsAuthorizedWithTokenInputItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchIsAuthorizedWithTokenInputItem.Builderaction(Consumer<ActionIdentifier.Builder> action)Specifies the requested action to be authorized.BatchIsAuthorizedWithTokenInputItem.Builderaction(ActionIdentifier action)Specifies the requested action to be authorized.default BatchIsAuthorizedWithTokenInputItem.Buildercontext(Consumer<ContextDefinition.Builder> context)Specifies additional context that can be used to make more granular authorization decisions.BatchIsAuthorizedWithTokenInputItem.Buildercontext(ContextDefinition context)Specifies additional context that can be used to make more granular authorization decisions.default BatchIsAuthorizedWithTokenInputItem.Builderresource(Consumer<EntityIdentifier.Builder> resource)Specifies the resource that you want an authorization decision for.BatchIsAuthorizedWithTokenInputItem.Builderresource(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 Detail
-
action
BatchIsAuthorizedWithTokenInputItem.Builder action(ActionIdentifier 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.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:
action(ActionIdentifier)
-
resource
BatchIsAuthorizedWithTokenInputItem.Builder resource(EntityIdentifier 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.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:
resource(EntityIdentifier)
-
context
BatchIsAuthorizedWithTokenInputItem.Builder context(ContextDefinition 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.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:
context(ContextDefinition)
-
-