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 Details

    • 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

      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:
    • 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.