Interface ResourceAccessPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceAccessPolicy.Builder,ResourceAccessPolicy>,SdkBuilder<ResourceAccessPolicy.Builder,ResourceAccessPolicy>,SdkPojo
- Enclosing class:
- ResourceAccessPolicy
public static interface ResourceAccessPolicy.Builder extends SdkPojo, CopyableBuilder<ResourceAccessPolicy.Builder,ResourceAccessPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceAccessPolicy.Builderpermission(String permission)The permissions that the Lambda function has to the resource.ResourceAccessPolicy.Builderpermission(Permission permission)The permissions that the Lambda function has to the resource.ResourceAccessPolicy.BuilderresourceId(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, sdkFields
-
-
-
-
Method Detail
-
permission
ResourceAccessPolicy.Builder permission(String 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,Permission
-
permission
ResourceAccessPolicy.Builder permission(Permission 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,Permission
-
resourceId
ResourceAccessPolicy.Builder resourceId(String 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.
-
-