Interface ResourceAccessPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceAccessPolicy.Builder,
,ResourceAccessPolicy> SdkBuilder<ResourceAccessPolicy.Builder,
,ResourceAccessPolicy> SdkPojo
- Enclosing class:
ResourceAccessPolicy
@Mutable
@NotThreadSafe
public static interface ResourceAccessPolicy.Builder
extends SdkPojo, CopyableBuilder<ResourceAccessPolicy.Builder,ResourceAccessPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionpermission
(String permission) The permissions that the Lambda function has to the resource.permission
(Permission permission) The permissions that the Lambda function has to the resource.resourceId
(String resourceId) The ID of the resource.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, sdkFieldNameToField, sdkFields
-
Method Details
-
permission
The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).- Parameters:
permission
- The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).- Parameters:
permission
- The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceId
The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)- Parameters:
resourceId
- The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-